
BFS
文章平均质量分 81
Dagon_
这个作者很懒,什么都没留下…
展开
-
ccf 201709-4 通信网络 BFS遍历
问题描述原创 2017-11-02 00:31:49 · 493 阅读 · 0 评论 -
Prime Path POJ - 3126 BFS
The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices. — It is a matter of原创 2017-11-05 16:11:59 · 179 阅读 · 0 评论 -
你经历过绝望吗?两次! CSU - 1726 BFS
4月16日,日本熊本地区强震后,受灾严重的阿苏市一养猪场倒塌,幸运的是,猪圈里很多头猪依然坚强存活。当地15名消防员耗时一天解救围困的“猪坚强”。不过与在废墟中靠吃木炭饮雨水存活36天的中国汶川“猪坚强”相比,熊本的猪可没那么幸运,因为它们最终还是没能逃过被送往屠宰场的命运。 我们假设“猪坚强”被困在一个N*M的废墟中,其中“@”表示“猪坚强”的位置,“.”表示可以直接通过的空地,“#”表示不原创 2017-11-05 16:18:59 · 283 阅读 · 0 评论 -
Mike and Shortcuts CodeForces - 689B BFS
Recently, 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 1 to n. Mike star原创 2017-11-05 16:24:55 · 224 阅读 · 0 评论