码迷,mamicode.com
首页 >  
搜索关键字:the maze makers    ( 598个结果
uva 784 Maze Exploration(DFS遍历图)
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
sdut2623——The number of steps
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
修改后的迷宫算法(原版为http://blog.csdn.net/sunshinedabby/article/details/6284779)
// maze.cpp : 定义控制台应用程序的入口点。//#include#includeusing namespace std;struct PosType//迷宫坐标位置类型{int x;//行值int y;//列值};#define MAXLENGTH 100 //设迷宫的最大行列为25ty...
分类:编程语言   时间:2014-12-24 01:15:04    阅读次数:249
BFS [uva 11624] Fire!
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 Bone
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
迷宫问题二 统计路径条数(dfs+回溯)
#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
迷宫问题一 找到迷宫的一条路径(DFS+回溯)
问题描述: 一天,小明不小心进入了一个迷宫,现在请你帮助他判断能否出走出迷宫,如果可能,则输出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
超体.特效中英字幕.Lucy.2014.BD1080P.X264.AAC.English&Mandarin.CHS-ENG
资源名称其它信息资源大小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
705 - Slash Maze
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
598条   上一页 1 ... 47 48 49 50 51 ... 60 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!