搜索-广度优先搜索
你迎哥哥
这个作者很懒,什么都没留下…
展开
-
HDU 1072 Nightmare
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1072 Nightmare Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7694 Accepted Submission(原创 2015-01-29 19:56:00 · 450 阅读 · 0 评论 -
HDU 1240 Asteroids!
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1240 Asteroids! Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3621 Accepted Submission原创 2015-01-29 23:22:15 · 527 阅读 · 0 评论 -
HDU 1253 胜利大逃亡
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1253 胜利大逃亡 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 27502 Accepted Submission(s):原创 2015-01-29 23:23:18 · 511 阅读 · 0 评论 -
HDU 1026 Ignatius and the Princess I
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1026 Ignatius and the Princess I Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 13266 A原创 2015-01-28 20:12:37 · 483 阅读 · 0 评论 -
HDU 1226 超级密码
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1226 超级密码 Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2759 Accepted Submission(s):原创 2015-01-29 23:19:13 · 664 阅读 · 0 评论 -
HDU 1043 Eight
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1043 Eight Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 13317 Accepted Submission(s)原创 2015-01-29 20:01:57 · 428 阅读 · 0 评论 -
BFS模板
#include #include #include #include using namespace std; const int maxn=105; char Map[maxn][maxn]; bool vis[maxn][maxn]; struct node { int x,y; int s; }; int n,m,sx,sy,ex,ey; int dir[][2]={ {0原创 2015-01-29 19:47:25 · 484 阅读 · 0 评论 -
HDU 1372 Knight Moves
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1372 Knight Moves Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7400 Accepted Submission原创 2015-01-31 13:40:13 · 422 阅读 · 0 评论 -
HDU 1180 诡异的楼梯
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1180 诡异的楼梯 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 9755 Accepted Submission(s):原创 2015-01-29 23:14:33 · 535 阅读 · 0 评论