bfs
静心踏实
这个作者很懒,什么都没留下…
展开
-
Dungeon Master
贴一道三维bfs模板题You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one unit n...原创 2018-05-20 11:28:00 · 172 阅读 · 0 评论 -
Fire Game(BFS,双点)
Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this board is consisting of grass or just empty and then they start...原创 2018-05-21 16:59:17 · 144 阅读 · 0 评论