bfs
文章平均质量分 84
十泉浩手中的馒头
存放学习生活中的笔记内容
展开
-
杭电1010Tempter of the Bone(dfs)
Problem Description The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He realized that the bone was a trap, and he tried desperately原创 2021-09-09 23:33:32 · 139 阅读 · 0 评论 -
杭电oj1072Nightmare(带注释和思路)(bfs)
Problem Description Ignatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth has an exit, Ignatius should get out of the labyrinth before the bomb explodes. The initial exploding time of the bomb is set to原创 2021-09-10 20:56:37 · 149 阅读 · 0 评论 -
杭电1728逃离迷宫(bfs)
逃离迷宫 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 46838 Accepted Submission(s): 11480 Problem Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以穿越,有些地方是障碍,原创 2021-09-09 11:24:26 · 98 阅读 · 0 评论