Dungeon Master Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 32684 Accepted: 12529 Description You are trapped in a 3D dungeon and need t ...
分类:
其他好文 时间:
2017-04-12 03:16:33
阅读次数:
154
题目链接:http://poj.org/problem?id=2251 可以说是bfs的模板题了。 ...
分类:
其他好文 时间:
2017-03-24 19:57:39
阅读次数:
220
1 #include<stdio.h> 2 #include<iostream> 3 #include<string.h> 4 #include<math.h> 5 #include<algorithm> 6 #include<vector> 7 #include<string> 8 #includ ...
分类:
其他好文 时间:
2017-03-07 22:34:02
阅读次数:
304
http://poj.org/problem?id=2251 这道题 就是3D版的迷宫问题 利用BFS求解即可 只需多加Z轴这一维度 ...
分类:
其他好文 时间:
2017-03-07 17:54:48
阅读次数:
168
题目描述 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 ...
分类:
其他好文 时间:
2017-03-04 14:08:58
阅读次数:
183
The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out in a ...
分类:
其他好文 时间:
2017-02-10 14:45:06
阅读次数:
199
POJ 2251 Dungeon Master(地牢大师) Time Limit: 1000MS Memory Limit: 65536K Description - 题目描述 You are trapped in a 3D dungeon and need to find the quickest ...
分类:
其他好文 时间:
2017-01-15 13:47:01
阅读次数:
626
The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out in a ...
分类:
编程语言 时间:
2016-12-08 03:30:20
阅读次数:
319
题目链接 http://poj.org/problem?id=2251 题意:一个立体空间, 输入三个数,L,R,C,代表有L个平面,R行,C列,.代表可以走,#代表不能走,S代表开始点,E代表结束点,问从S开始走,对每个位置,有六个走法,即空间的六个方向的走法(上下东南西北),一分钟可以走一个点, ...
分类:
其他好文 时间:
2016-11-20 06:31:28
阅读次数:
191
Description 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 fille ...
分类:
其他好文 时间:
2016-11-01 19:14:22
阅读次数:
213