码迷,mamicode.com
首页 >  
搜索关键字:the maze makers    ( 598个结果
poj3984_bfs+回溯路径
POJ 3984 bfs+回溯路径迷宫问题Time Limit:1000MSMemory Limit:65536KTotal Submissions:9218Accepted:5459Description定义一个二维数组:int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1...
分类:其他好文   时间:2015-03-14 15:17:06    阅读次数:175
poj3083——dfs+bfs综合题
POJ 3083 dfs+bfs+模拟Children of the Candy CornTime Limit:1000MSMemory Limit:65536KTotal Submissions:10564Accepted:4539DescriptionThe cornfield maze is....
分类:其他好文   时间:2015-03-12 00:41:04    阅读次数:123
华为面试题:迷宫问题 C语言源码
定义一个二维数组N*M(其中2 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-03-05 10:49:18    阅读次数:184
华为面试题:识别有效的ip地址和子网掩码并分类 C语言源码
识别有效的ip地址和子网掩码并分类: 按行输入多组数据 10.8.9.2~255.0.0.0 180.8.9.2~255.254.0.0 打印:A B C D E 错误的ip或掩码 私有ip 的个数 #include "stdio.h" #include "stdlib.h" #include "string.h" #define MAX_PATH 256 int maze[10][10] ...
分类:编程语言   时间:2015-03-05 09:15:44    阅读次数:175
Borg Maze(MST & bfs)
Borg MazeTime Limit:1000MSMemory Limit:65536KTotal Submissions:9220Accepted:3087DescriptionThe Borg is an immensely powerful race of enhanced humanoid...
分类:其他好文   时间:2015-03-04 20:47:58    阅读次数:232
HDU 1010 Tempter of the Bone_DFS
1 #include 2 #include 3 #include 4 #include 5 #include 6 char maze[8][8]; 7 int n, m, t; 8 int mx, my, X, Y; 9 int flag, tt;10 int Move[4][2]= {...
分类:其他好文   时间:2015-03-04 15:56:08    阅读次数:152
看数据结构写代码(13)栈的应用(四) 迷宫求解
这是一个 用 穷举法 解 迷宫问题 的一个示例,但在 效率 和 解的 最短路径上 就稍显不足了。 这 两个问题,留在 以后 空闲 时刻 解答。 欢迎指出代码不足 下面上代码: // Maze.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include struct Postion { int x; int y; }; ...
分类:其他好文   时间:2015-03-04 11:08:21    阅读次数:183
HDU 1010 && ZOJ 2110 Tempter of the bone (DFS + 奇偶剪枝)
Problem Description: The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He...
分类:其他好文   时间:2015-03-02 19:07:09    阅读次数:178
POJ 题目3984 迷宫问题(BFS)
迷宫问题 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 9112   Accepted: 5392 Description 定义一个二维数组:  int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, ...
分类:其他好文   时间:2015-03-02 13:17:00    阅读次数:148
Tempter of the Bone
ZOJ Problem Set - 2110Tempter of the BoneTime Limit: 2 Seconds Memory Limit: 65536 KBThe doggie found a bone in an ancient maze, which fascinated h...
分类:其他好文   时间:2015-02-26 19:59:39    阅读次数:147
598条   上一页 1 ... 44 45 46 47 48 ... 60 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!