
BFS
文章平均质量分 89
柠檬与茉莉
专注,聚焦。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
poj 3278 bfs(剪支)
题意如下,在坐标轴区间 0---100000上,农夫初始位置为n, ni原创 2014-06-30 14:05:51 · 565 阅读 · 0 评论 -
hdu 1728逃出迷宫
#include #include #include #include using namespace std;const int SIZE = 110;const int dx[] = {1, -1, 0, 0};const int dy[] = {0, 0, -1, 1};char maze[SIZE][SIZE];int v[SIZE][SIZE]转载 2014-07-07 20:38:33 · 581 阅读 · 0 评论 -
hdu 1254(推箱子游戏bfs+状态标记)
题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1254推箱子Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5181 Accepted Submission(s): 14原创 2014-09-06 09:01:05 · 1443 阅读 · 0 评论 -
ACdream 1191(广搜)
题目链接:http://acdream.info/problem?pid=1191Dragon MazeTime Limit: 2000/1000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)SubmitStatisticNext ProblemProblem Description原创 2014-09-20 11:41:14 · 1117 阅读 · 0 评论 -
poj 2251(广搜求两点之间的距离)
题目链接:http://poj.org/problem?id=2251Dungeon MasterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 16682 Accepted: 6491DescriptionYou are trapped原创 2014-08-31 15:34:16 · 801 阅读 · 0 评论 -
poj 3278 Catch That Cow
题目链接:http://poj.org/problem?id=3278Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 47168 Accepted: 14818DescriptionFarmer John has原创 2014-08-31 11:11:48 · 700 阅读 · 0 评论 -
hdu 2612(两个方向广搜)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2612Find a wayTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3786 Accepted Submission原创 2014-09-02 21:39:12 · 771 阅读 · 0 评论 -
hdu 5012(广搜,西安网络赛)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5012DiceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 398 Accepted Submission(s): 23原创 2014-09-15 18:10:08 · 1014 阅读 · 0 评论