![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
BFS
林次次
Life is short, use Python.
展开
-
HDU1728:逃离迷宫【BFS】
逃离迷宫Time Limit : 1000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 7 Accepted Submission(s) : 1Problem Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,glor原创 2015-08-10 10:33:40 · 986 阅读 · 0 评论 -
HDU 1253:胜利大逃亡【BFS】
胜利大逃亡Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 30474 Accepted Submission(s): 11407Problem DescriptionIgnatius被魔王抓走了,有一天魔王出差原创 2016-01-09 22:32:34 · 391 阅读 · 0 评论 -
HDU 1254:推箱子【DFS && BFS】
推箱子Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6569 Accepted Submission(s): 1873Problem Description推箱子是一个很经典的游戏.今天我们来玩一个简单版本.原创 2016-01-09 21:09:14 · 462 阅读 · 0 评论 -
FUZoj 2188:过河I【bfs】
过河ITime Limit:3000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription一天,小明需要把x只羊和y只狼运输到河对面。船可以容纳n只动物和小明。每次小明划船时,都必须至少有一只动物来陪他,不然他会感到厌倦原创 2015-12-15 21:59:40 · 606 阅读 · 0 评论 -
HDU 2102:A计划【bfs】
A计划Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14416 Accepted Submission(s): 3581Problem Description可怜的公主在一次次被魔王掳走一次次被骑士们救回来之原创 2015-12-09 09:09:14 · 542 阅读 · 0 评论 -
POJ 3984:迷宫问题【BFS】
迷宫问题Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11603 Accepted: 6946Description定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0,原创 2015-08-20 17:17:35 · 580 阅读 · 0 评论 -
POJ 2251:Dungeon Master【bfs】
Dungeon MasterTime Limit : 2000/1000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 9 Accepted Submission(s) : 7Problem DescriptionYou are trapped in原创 2015-08-06 17:00:03 · 635 阅读 · 0 评论 -
ZOJ 1671:Walking Ant【bfs】
Walking AntTime Limit: 2 Seconds Memory Limit: 65536 KBAnts are quite diligent. They sometimes build their nests beneath flagstones.Here, an ant is walking in a rectangular area tiled原创 2015-08-06 19:56:37 · 671 阅读 · 0 评论 -
HDU 2717:Catch That Cow 【bfs】
题目链接Catch That Cow Time Limit : 4000/2000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 68 Accepted Submission(s) : 28Problem DescriptionFarmer John has原创 2015-08-06 14:06:54 · 569 阅读 · 0 评论 -
HDU 1242:Rescue 【bfs】
点击打开链接Rescue Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 31 Accepted Submission(s) : 13Problem DescriptionAngel was caught by the原创 2015-08-06 09:42:53 · 557 阅读 · 0 评论 -
POJ 2312:Battle City【BFS & 优先队列】
Battle CityTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7889 Accepted: 2635DescriptionMany of us had played the game "Battle city" in our childhood,原创 2016-02-02 16:28:52 · 322 阅读 · 0 评论