![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
广度优先搜索bfs
文章平均质量分 84
l踏雪无痕ll
这个作者很懒,什么都没留下…
展开
-
hdoj 2102 A计划
A计划Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13232 Accepted Submission(s): 3262Problem Description可怜的公主在一次次被魔王掳走一次次被骑士们救回原创 2015-08-08 17:43:49 · 379 阅读 · 0 评论 -
hdoj 1495 非常可乐 【bfs】
非常可乐Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8005 Accepted Submission(s): 3201Problem Description大家一定觉的运动以后喝可乐是一件很惬意的事情,但是原创 2015-11-03 15:16:44 · 367 阅读 · 0 评论 -
poj 3984 迷宫问题 【bfs + 路径记录】
迷宫问题Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11362 Accepted: 6796Description定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0,原创 2015-08-10 15:19:26 · 445 阅读 · 0 评论 -
hdoj 1026 Ignatius and the Princess I 【bfs + 路径记录 【好题】 】
Ignatius and the Princess ITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15087 Accepted Submission(s): 4799Special JudgeProblem D原创 2015-11-10 22:06:43 · 245 阅读 · 0 评论 -
hdoj 2579 Dating with girls(2) 【bfs】
Dating with girls(2)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2703 Accepted Submission(s): 758Problem DescriptionIf you hav原创 2015-11-04 21:52:35 · 734 阅读 · 0 评论 -
hdoj 1242 Rescue
RescueTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21313 Accepted Submission(s): 7598Problem DescriptionAngel was caught by th原创 2015-08-06 21:41:57 · 70 阅读 · 0 评论 -
hdoj 2717 Catch That Cow
Catch That CowTime Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9375 Accepted Submission(s): 2939Problem DescriptionFarmer John has原创 2015-08-06 19:20:03 · 338 阅读 · 0 评论 -
nyoj 58 最少步数
最少步数时间限制:3000 ms | 内存限制:65535 KB难度:4描述 这有一个迷宫,有0~8行和0~8列: 1,1,1,1,1,1,1,1,1 1,0,0,1,0,0,1,0,1 1,0,0,1,1,0,0,0,1 1,0,1,0,1,1,0,1,1 1,0,0,0,0,1,0,0,1 1,1,0,1,0,1,0,0,1 1,1,原创 2015-08-06 16:25:12 · 478 阅读 · 0 评论 -
poj 22515 Dungeon Master
Dungeon MasterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 20926 Accepted: 8110DescriptionYou are trapped in a 3D dungeon and need to find the quickest原创 2015-08-06 16:06:10 · 285 阅读 · 0 评论 -
nyoj 1100 WAJUEJI which home strong!
WAJUEJI which home strong!时间限制:1000 ms | 内存限制:65535 KB难度:2描述 在一个山沟里,姐弟俩同时考上了大学。但由于家里拮据,所以这并不是什么好消息。父亲对孩子说:我就是砸锅卖铁也要把你们姐俩供出来。 当时的姐姐已经决定放弃上学的机会。 没想到第二天天还没亮,弟弟就偷偷带著几件破衣服和几个乾巴馒头走了,在姐姐枕边留下一个纸原创 2015-08-18 08:54:50 · 883 阅读 · 0 评论 -
hdoj 1728 逃离迷宫 [bfs]
逃离迷宫Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 19665 Accepted Submission(s): 4792Problem Description 给定一个m × n (m行, n列)的迷宫,原创 2015-08-10 18:49:31 · 410 阅读 · 0 评论 -
zoj 1671 Walking Ant 【bfs】
Walking AntTime Limit: 2 Seconds Memory Limit: 65536 KB Ants are quite diligent. They sometimes build their nests beneath flagstones.Here, an ant is walking in a rectangular area tile原创 2015-08-10 16:41:43 · 352 阅读 · 0 评论 -
hdoj 1428 漫步校园 【bfs + dfs】
漫步校园Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3774 Accepted Submission(s): 1151Problem DescriptionLL最近沉迷于AC不能自拔,每天寝室、机房两点一线原创 2016-04-05 17:57:42 · 320 阅读 · 0 评论