
BFS
文章平均质量分 83
guozuofeng
这个作者很懒,什么都没留下…
展开
-
求迷宫两点最长距离
题目链接:https://vjudge.net/contest/244053#problem/J Labyrinth The northern part of the Pyramid contains a very large and complicated labyrinth. The labyrinth is divided into square blocks, each of them...原创 2018-08-04 15:30:54 · 654 阅读 · 0 评论 -
树的直径(找出最远村庄距离)
题目链接:https://vjudge.net/contest/244053#problem/F Roads in the North Building and maintaining roads among communities in the far North is an expensive business. With this in mind, the roads are bu...原创 2018-08-04 17:13:28 · 328 阅读 · 0 评论 -
D. Valid BFS
题目链接:https://codeforces.com/contest/1037/problem/D D. Valid BFS? time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The BFS algorit...原创 2018-09-04 21:35:26 · 178 阅读 · 0 评论