随笔分类 -  搜索

K - UZI HDU - 2102 A计划 搜索
摘要:K - UZI HDU - 2102 可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下勇士来拯救公主。不过公主早已习... 阅读全文

posted @ 2018-08-02 17:40 一零七 阅读(76) 评论(0) 推荐(0)

J - 最强王者 POJ - 1753 Flip Game 搜索+状态压缩
摘要:J - 最强王者 POJ - 1753 Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of... 阅读全文

posted @ 2018-08-02 17:39 一零七 阅读(92) 评论(0) 推荐(0)

I - 超凡大师 CSU - 2031: Barareh on Fire
摘要:I - 超凡大师 CSU - 2031 The Barareh village is on fire due to the attack of the virtual enemy. Several places are already on fire and the ... 阅读全文

posted @ 2018-08-02 17:38 一零七 阅读(82) 评论(0) 推荐(0)

H - 钻石 CSU - 1224: ACM小组的古怪象棋 搜索
摘要:H - 钻石 CSU - 1224 ACM小组的Samsara和Staginner对中国象棋特别感兴趣,尤其对马(可能是因为这个棋子的走法比较多吧)的使用进行深入研究。今天他们又在 构思一个古怪的棋局:假如Samsara只有一个马了,而Staginner又只剩下一个将... 阅读全文

posted @ 2018-08-02 17:36 一零七 阅读(95) 评论(0) 推荐(0)

E - 白银 CSU - 1726: 你经历过绝望吗?两次! 搜索
摘要:E - 白银 CSU - 1726 4月16日,日本熊本地区强震后,受灾严重的阿苏市一养猪场倒塌,幸运的是,猪圈里很多头猪依然坚强存活。当地15名消防员耗时一天解救围困的“猪坚强”。不过与在废墟中靠吃木炭饮雨水存活36天的中国汶川“猪坚强”相比,熊本的猪可没那么幸运,... 阅读全文

posted @ 2018-08-02 17:34 一零七 阅读(102) 评论(0) 推荐(0)

D - 青铜一 HDU - 1429 胜利大逃亡(续) BFS
摘要:D - 青铜一 HDU - 1429 Ignatius再次被魔王抓走了(搞不懂他咋这么讨魔王喜欢)…… 这次魔王汲取了上次的教训,把Ignatius关在一个n*m的地牢里,并在地牢的某些地方安装了带锁的门,钥匙藏在地牢另外的某些地方。刚开始Ignatius被关在(sx... 阅读全文

posted @ 2018-08-01 14:04 一零七 阅读(107) 评论(0) 推荐(0)

C - 青铜五 HDU - 2717 Catch That Cow BFS
摘要:C - 青铜五 HDU - 2717 Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a ... 阅读全文

posted @ 2018-08-01 12:40 一零七 阅读(118) 评论(0) 推荐(0)

B - 小学生 POJ - 3126 Prime Path
摘要:B - 小学生 POJ - 3126 The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all... 阅读全文

posted @ 2018-08-01 12:34 一零七 阅读(134) 评论(0) 推荐(0)

A - 刚入坑 ZOJ - 1709 Oil Deposits BFS
摘要:A - 刚入坑 ZOJ - 1709 The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works w... 阅读全文

posted @ 2018-08-01 12:29 一零七 阅读(169) 评论(0) 推荐(0)

I - 剪枝 0。O HDU - 1455 Sticks DFS
摘要:I - 剪枝 0。O HDU - 1455 George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he... 阅读全文

posted @ 2018-08-01 12:20 一零七 阅读(97) 评论(0) 推荐(0)

H - 连通分量 POJ - 3620 Avoid The Lakes DFS水题
摘要:H - 连通分量 POJ - 3620 Farmer John's farm was flooded in the most recent storm, a fact only aggravated by the information that his cows a... 阅读全文

posted @ 2018-08-01 11:50 一零七 阅读(112) 评论(0) 推荐(0)

F - DFS枚举 CSU - 2087: Tragedy Words
摘要:F - DFS枚举 CSU - 2087 As is known to all, Wells doesn't have a good command of English. As a result, some unfamiliar words, which may c... 阅读全文

posted @ 2018-08-01 11:40 一零七 阅读(136) 评论(0) 推荐(0)

D - Prime Ring Problem HDU - 1016 DFS水题
摘要:D - Prime Ring Problem HDU - 1016 A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle... 阅读全文

posted @ 2018-08-01 11:27 一零七 阅读(179) 评论(0) 推荐(0)

导航