
dfs
方偲~
大佬养成中...
展开
-
POJ 3984-迷宫问题 (dfs)
poj3984-迷宫问题 迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 36567 Accepted: 20632 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, ...原创 2018-12-13 19:10:03 · 755 阅读 · 1 评论 -
poj-2251 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 north, s...原创 2018-12-13 19:14:37 · 118 阅读 · 0 评论