文件名称:maze-backtracking
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 161kb
- 下载次数:
- 0次
- 提 供 者:
- j***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
迷宫是许多小方格构成的矩形,在每个小方格中有的是墙(图中的“1”)有的是路(图中的“0”)。走迷宫就是从一个小方格沿上、下、左、右四个方向到邻近的方格,当然不能穿墙。设迷宫的入口是在左上角(1,1),出口是右下角(8,8)。根据给定的迷宫,找出一条从入口到出口的路径。 采用回溯法-Maze is composed of many small rectangular box in each small box in plenty of wall (in the figure " 1" ) Some Way (in the figure " 0" ). Maze is from a small box along the top, bottom, left, and right directions to the nearby square and, of course not through walls. Maze entrance is located in the upper left corner (1,1), exports are lower-right corner (8,8). According to the given maze, find a path from the entrance to the exit. By backtracking
(系统自动生成,下载前可以参看下载内容)
下载文件列表
maze 递归 方法同书上 输出不同于书 例2\Debug\maze.exe
.....................................\.....\maze.ilk
.....................................\.....\maze.obj
.....................................\.....\maze.pch
.....................................\.....\maze.pdb
.....................................\.....\vc60.idb
.....................................\.....\vc60.pdb
.....................................\Debug
.....................................\maze.cpp
.....................................\maze.dsp
.....................................\maze.dsw
.....................................\maze.ncb
.....................................\maze.opt
.....................................\maze.plg
maze 递归 方法同书上 输出不同于书 例2
.....................................\.....\maze.ilk
.....................................\.....\maze.obj
.....................................\.....\maze.pch
.....................................\.....\maze.pdb
.....................................\.....\vc60.idb
.....................................\.....\vc60.pdb
.....................................\Debug
.....................................\maze.cpp
.....................................\maze.dsp
.....................................\maze.dsw
.....................................\maze.ncb
.....................................\maze.opt
.....................................\maze.plg
maze 递归 方法同书上 输出不同于书 例2