
BFS
文章平均质量分 76
下饭厨子
这个作者很懒,什么都没留下…
展开
-
UVA11624 Fire!
FireJoe works in a maze. Unfortunately, portions of the maze havecaught on re, and the owner of the maze neglected to create a reescape plan. Help Joe escape the maze.Given Joe's location in原创 2016-07-29 20:52:48 · 349 阅读 · 0 评论 -
HDU1242:Rescue(BFS+优先队列)
RescueDescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs, ROADs, and GUARDs in the prison.Angel'原创 2016-07-29 21:07:20 · 327 阅读 · 1 评论 -
Poj2251 Dungeon Master
Dungeon MasterDescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It tak原创 2016-07-29 21:11:08 · 368 阅读 · 0 评论 -
HDU2717 Catch That Cow
Catch That CowDescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a pointN (0 ≤ N ≤ 100,000) on a number line an原创 2016-07-29 21:13:32 · 265 阅读 · 0 评论 -
HDU 2612 find a way
Find a wayDescriptionPass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Especially a good friend Mer原创 2016-07-29 21:16:24 · 408 阅读 · 0 评论