BFS
Timeclimber
这个作者很懒,什么都没留下…
展开
-
poj 3984 迷宫问题 (BFS)
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 24384 Accepted: 14223 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0原创 2017-08-18 21:37:40 · 308 阅读 · 0 评论 -
NEFU 1301 树的直径(bfs)
树的直径 Problem:1301 Time Limit:1000ms Memory Limit:65535K Description 树的直径是指树的最长简单路。我们通常通过两遍BFS or DFS得到。即先任选一个起点BFS or DFS找到最长路的终点,再从终点进行BFS or DFS,则第原创 2018-01-20 17:44:53 · 378 阅读 · 0 评论 -
hdu 5012 Dice(bfs)
DiceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2233 Accepted Submission(s): 1121Problem DescriptionThere are 2 special dices on the tabl...原创 2018-05-08 11:57:11 · 237 阅读 · 0 评论