文件名称:migong
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 525kb
- 下载次数:
- 0次
- 提 供 者:
- 罗*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个程序求解迷宫问题。迷宫由m行n列的二维数组设置,0表示无障碍,1表示有障碍。设入口为(1,1),出口为(m,n),每次只能从一个无障碍单元移到周围四个方向上任一无障碍单元。编程实现对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论。
算法输入:代表迷宫入口的坐标
算法输出:穿过迷宫的结果。
-The preparation of a program to solve maze problems. Maze by m lines n set out in two-dimensional array, 0, said barrier-free, 1 that there is an obstacle. Entrance located (1,1), exports (m, n), each from a barrier-free unit can only move in four directions around the office of a barrier-free unit. Programming the maze of arbitrary, derived from the entrance to an export pathway, or no access to draw conclusions. Algorithm input: the representative of the coordinates of the entrance of the maze algorithm output: the results through the maze.
算法输入:代表迷宫入口的坐标
算法输出:穿过迷宫的结果。
-The preparation of a program to solve maze problems. Maze by m lines n set out in two-dimensional array, 0, said barrier-free, 1 that there is an obstacle. Entrance located (1,1), exports (m, n), each from a barrier-free unit can only move in four directions around the office of a barrier-free unit. Programming the maze of arbitrary, derived from the entrance to an export pathway, or no access to draw conclusions. Algorithm input: the representative of the coordinates of the entrance of the maze algorithm output: the results through the maze.
相关搜索: 迷宫问题
(系统自动生成,下载前可以参看下载内容)
下载文件列表
迷宫问题
........\Debug
........\luodan.txt
........\main.cpp
........\maze.txt
........\mi.txt
........\mm.txt
........\stack.cpp
........\stack.h
........\新生成迷宫.txt
........\迷宫问题.dsp
........\迷宫问题.dsw
........\迷宫问题.ncb
........\迷宫问题.opt
........\迷宫问题.plg
迷宫问题课程设计报告.doc
........\Debug
........\luodan.txt
........\main.cpp
........\maze.txt
........\mi.txt
........\mm.txt
........\stack.cpp
........\stack.h
........\新生成迷宫.txt
........\迷宫问题.dsp
........\迷宫问题.dsw
........\迷宫问题.ncb
........\迷宫问题.opt
........\迷宫问题.plg
迷宫问题课程设计报告.doc