![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
BFS
xiyue_jiang
这个作者很懒,什么都没留下…
展开
-
CSU-ACM2017暑期训练6-bfs Mike and Shortcuts
Mike and ShortcutsRecently, Mike was very busy with studying for exams and contests. Now he is going to chill a bit by doing some sight seeing in the city.City consists of n intersections numbered from原创 2017-08-01 22:45:26 · 255 阅读 · 0 评论 -
CSU-ACM2017暑假集训比赛2 C - (╯°口°)╯(┴—┴
C - (╯°口°)╯(┴—┴ The Enterprise is surrounded by Klingons! Find the escape route that has the quickest exit time, and print that time. Input is a rectangular grid; each grid square either has the原创 2017-08-02 19:43:25 · 490 阅读 · 0 评论 -
CSU-ACM2017暑假集训比赛2 A - _(:з」∠)_
A - (:з」∠) There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 <= Ki <= N) on every floor.The lift have just two buttons: up and down.When you at floor原创 2017-08-02 20:46:07 · 618 阅读 · 0 评论 -
CSU-ACM2017暑假集训比赛8 - B - The Two Routes - CodeForces - 601A
B - The Two RoutesIn Absurdistan, there are n towns (numbered 1 through n) and m bidirectional railways. There is also an absurdly simple road network — for each pair of different towns x and y, there原创 2017-08-27 10:08:20 · 393 阅读 · 0 评论