文件名称:a3003@04.02
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.7mb
- 下载次数:
- 0次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本程序算法相对简单,可以申请一个2维数组,作为方格的抽象,本程序做了一个尝试,即将2维数组变为一维,但是仍然可以通过整数除法与模运算求得相应与2维数组的行列数值。本题算法其实是经典迷宫问题的一个变种。只是判断规则和行走规则有所出入。解决思想基本一致。现规定从当前点有4*step(step是最大步长)个选择(如果存在的话,否则到方格边界则不走);采用回溯遍历所有的情况,取得最大值输出。-The program algorithm is relatively simple, can apply for a 2-dimensional array, as an abstract grid, made an attempt this procedure, about 2 dimensional array into a one-dimensional, but still can be obtained by integer division and modulo with the corresponding two-dimensional the ranks of the array values. The problem algorithm is a variant of the classic maze. Only to determine the rules of the rules and walk out. To solve basically the same idea. There are requirements from the current point 4* step (step is the biggest step) option (if it exists, or not to go to the grid boundary) using back through all of the circumstances, to obtain maximum output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
A3003@04.02
...........\IMCC_
...........\.....\IMCC_.dsw
...........\.....\IMCC_.ncb
...........\.....\main.cpp
...........\.....\IMCC_.plg
...........\.....\IMCC_.opt
...........\.....\IMCC_.dsp
...........\.....\Debug
...........\.....\.....\vc60.idb
...........\.....\.....\vc60.pdb
...........\.....\.....\IMCC_.pch
...........\.....\.....\main.obj
...........\.....\.....\IMCC_.ilk
...........\.....\.....\IMCC_.exe
...........\.....\.....\IMCC_.pdb
...........\.....\IMCC_糟糕的向导代码说明.txt
...........\Jump
...........\....\Jump.opt
...........\....\Main.cpp
...........\....\Jump.dsp
...........\....\Stack.h
...........\....\关于Jump_跳方格的说明.txt
...........\....\Jump.dsw
...........\....\Jump.ncb
...........\....\Jump.plg
...........\....\Debug
...........\....\.....\vc60.idb
...........\....\.....\vc60.pdb
...........\....\.....\Jump.pdb
...........\....\.....\Jump.ilk
...........\....\.....\Jump.exe
...........\....\.....\Jump.pch
...........\....\.....\Main.obj
...........\Guard
...........\.....\set.h
...........\.....\Guard.dsp
...........\.....\Guard_最大警卫的若干说明.txt
...........\.....\Stack.h
...........\.....\Guard.ncb
...........\.....\Guard.dsw
...........\.....\Guard.plg
...........\.....\Debug
...........\.....\.....\vc60.idb
...........\.....\.....\vc60.pdb
...........\.....\.....\Guard.opt
...........\.....\.....\Guard.ilk
...........\.....\.....\Guard.pdb
...........\.....\.....\Guard.exe
...........\.....\.....\Guard.pch
...........\.....\.....\main'.obj
...........\.....\main'.cpp
...........\.....\Guard.opt
...........\IMCC_
...........\.....\IMCC_.dsw
...........\.....\IMCC_.ncb
...........\.....\main.cpp
...........\.....\IMCC_.plg
...........\.....\IMCC_.opt
...........\.....\IMCC_.dsp
...........\.....\Debug
...........\.....\.....\vc60.idb
...........\.....\.....\vc60.pdb
...........\.....\.....\IMCC_.pch
...........\.....\.....\main.obj
...........\.....\.....\IMCC_.ilk
...........\.....\.....\IMCC_.exe
...........\.....\.....\IMCC_.pdb
...........\.....\IMCC_糟糕的向导代码说明.txt
...........\Jump
...........\....\Jump.opt
...........\....\Main.cpp
...........\....\Jump.dsp
...........\....\Stack.h
...........\....\关于Jump_跳方格的说明.txt
...........\....\Jump.dsw
...........\....\Jump.ncb
...........\....\Jump.plg
...........\....\Debug
...........\....\.....\vc60.idb
...........\....\.....\vc60.pdb
...........\....\.....\Jump.pdb
...........\....\.....\Jump.ilk
...........\....\.....\Jump.exe
...........\....\.....\Jump.pch
...........\....\.....\Main.obj
...........\Guard
...........\.....\set.h
...........\.....\Guard.dsp
...........\.....\Guard_最大警卫的若干说明.txt
...........\.....\Stack.h
...........\.....\Guard.ncb
...........\.....\Guard.dsw
...........\.....\Guard.plg
...........\.....\Debug
...........\.....\.....\vc60.idb
...........\.....\.....\vc60.pdb
...........\.....\.....\Guard.opt
...........\.....\.....\Guard.ilk
...........\.....\.....\Guard.pdb
...........\.....\.....\Guard.exe
...........\.....\.....\Guard.pch
...........\.....\.....\main'.obj
...........\.....\main'.cpp
...........\.....\Guard.opt