码迷,mamicode.com
首页 >  
搜索关键字:the maze makers    ( 598个结果
Codeforces Round #287 (Div. 2)C. Guess Your Way Out!
Amr bought a new video game "Guess Your Way Out!". The goal of the game is to find an exit from the maze that looks like a perfect binary tree of heig...
分类:其他好文   时间:2015-01-24 08:57:37    阅读次数:240
Android apps浅析01-Amazed:一个简单但令人上瘾的加速度为基础的大理石指导游戏。
Android apps浅析01-Amazed:一个简单但令人上瘾的加速度为基础的大理石指导游戏。 这个例子中只有4个类,一个绘制大理石类Marble,一个绘制迷宫类Maze,一个Amazed视图类,一个Amazed活动类...
分类:移动开发   时间:2015-01-23 18:17:31    阅读次数:267
POJ 3026 Borg Maze
/**POJ 3026 Borg Maze*题意:*从S处开始搜索 每遇到A 便会分裂 分裂出来的会继续搜索*问最终所走的最小步数和*//**思路:*首先BFS所有A或S 求任意两点之间的距离 构建dist数组*求dist的最小生成树*/#include #include #include usin...
分类:其他好文   时间:2015-01-23 09:32:51    阅读次数:149
POJ2935 Basic Wall Maze bfs记录路径
链接:   POJ2935 题意: 6 X 6的地图   格子和格子可能有墙      整个地图中有三道墙      求起点起点到终点的路径 本题中的墙可以理解为某a位置的X方向不能走   即用一个三维数组map[x][y][z]表示(x,y)的Z方向不能走 关于记录路径可以用一个pre数组记录每个坐标的前一个坐标的复合值  最后倒序输出方向即可 ...
分类:其他好文   时间:2015-01-20 15:45:50    阅读次数:151
(简单) FZU 2150 Fire Game ,Floyd。
Problem Description Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each gr...
分类:其他好文   时间:2015-01-16 23:42:12    阅读次数:335
(简单) UVA 11624 Fire! ,BFS。
Description Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire esca...
分类:其他好文   时间:2015-01-16 23:42:08    阅读次数:258
(简单) POJ 3984 迷宫问题,BFS。
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表示可以走的路,只能...
分类:其他好文   时间:2015-01-16 23:34:24    阅读次数:226
深度优先算法生成迷宫——Python实现
import random #warning: x and y confusing sx = 10 sy = 10 dfs = [[0 for col in range(sx)] for row in range(sy)] maze = [[' ' for col in range(2*sx+1)] for row in range(2*sy+1)] #1:up 2:down 3:left 4...
分类:编程语言   时间:2015-01-08 15:24:22    阅读次数:158
uva 11624 Fire!(BFS)
Fire! Time Limit: 1000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu Submit Status Description Problem B: Fire! Joe works in a maze. Unfortunately, portio...
分类:其他好文   时间:2015-01-04 10:14:02    阅读次数:221
poj 3984 迷宫问题(bfs)
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8695 Accepted: 5125 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0,...
分类:其他好文   时间:2015-01-02 17:37:38    阅读次数:206
598条   上一页 1 ... 46 47 48 49 50 ... 60 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!