。。。

导航

2017年7月30日 #

【搜索入门专题1】E - Farm Irrigation 【BFS】ZOJ 2412

摘要: Farm IrrigationBenny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are p... 阅读全文

posted @ 2017-07-30 17:43 大学僧 阅读(135) 评论(0) 推荐(0) 编辑

【搜索入门专题1】hdu1253 【BFS】 F - 胜利大逃亡

摘要: 胜利大逃亡Problem DescriptionIgnatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-... 阅读全文

posted @ 2017-07-30 13:31 大学僧 阅读(197) 评论(0) 推荐(0) 编辑

【搜索入门专题1】hdu2717 H - Catch That Cow 【BFS】

摘要: Catch That CowProblem DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a po... 阅读全文

posted @ 2017-07-30 10:16 大学僧 阅读(176) 评论(0) 推荐(0) 编辑

【搜索入门专题1】hdu1548 G - A strange lift 【BFS】

摘要: A strange liftProblem DescriptionThere is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 #include#include... 阅读全文

posted @ 2017-07-30 09:34 大学僧 阅读(114) 评论(0) 推荐(0) 编辑