uva 784 Maze Exploration
A maze(迷宫) of
rectangular(矩形的) rooms is represented on a two
dimensional(空间的) grid as
illustrated(阐明) in figure 1a. Each point of the grid is represented by a char...
分类:
其他好文 时间:
2015-01-01 16:07:06
阅读次数:
151
The number of steps
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
Mary stands in a strange maze, the maze looks like a triangle(the first layer have one room,the second lay...
分类:
其他好文 时间:
2014-12-29 09:05:37
阅读次数:
206
// maze.cpp : 定义控制台应用程序的入口点。//#include#includeusing namespace std;struct PosType//迷宫坐标位置类型{int x;//行值int y;//列值};#define MAXLENGTH 100 //设迷宫的最大行列为25ty...
分类:
编程语言 时间:
2014-12-24 01:15:04
阅读次数:
249
J -Fire!Time Limit:1000MSMemory Limit:0KB64bit IO Format:%lld & %lluProblem B: Fire!Joe works in a maze. Unfortunately, portions of the maze have caug...
分类:
其他好文 时间:
2014-12-20 15:26:18
阅读次数:
228
Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0,};它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖...
分类:
其他好文 时间:
2014-12-18 20:28:36
阅读次数:
309
Tempter of the BoneTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe doggie found a bone in an ancient maze...
分类:
其他好文 时间:
2014-12-16 00:56:05
阅读次数:
142
#include
using namespace std;
char maze[100][100];
bool flag[100][100];
int dx[]={0,0,1,-1};
int dy[]={1,-1,0,0};
int m,n;
int sum=0;
void dfs(int x,int y)
{
if(maze[x][y]=='T'){sum++;return ;}
fo...
分类:
其他好文 时间:
2014-12-12 13:20:53
阅读次数:
255
问题描述:
一天,小明不小心进入了一个迷宫,现在请你帮助他判断能否出走出迷宫,如果可能,则输出YES. 如果不能走到出口,则输出NO. 每次走只能是上下左右4个方向.
*表示可走
#表示障碍
T表示出口
入口是(1,1),数据保证左上角是入口
#include
using namespace std;
char maze[100][100];
bool flag[100][10...
分类:
其他好文 时间:
2014-12-12 10:18:53
阅读次数:
166
资源名称其它信息资源大小BT下载超体.Lucy.2014.BD-MP4-原创翻译中英双语字幕.mp4seeders:3/ leechers:1511.15MB下载【飘域家园】移动迷宫.The.Maze.Runner.2014.DVDseeders:12/ leechers:121448MB下载飞鸟娱...
分类:
其他好文 时间:
2014-12-07 23:04:19
阅读次数:
325
By filling a rectangle with slashes (/) and backslashes ( ), you can generate nice
little mazes. Here is an example:
As you can see, paths in the maze cannot branch, so the whole maze only cont...
分类:
其他好文 时间:
2014-11-20 22:04:37
阅读次数:
215