文件名称:Jorseve
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 166kb
- 下载次数:
- 0次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用于解决约瑟夫问题。堆栈方法。约瑟夫问题是个有名的问题:N个人围成一圈,从第一个开始报数,第M个将被杀掉,最后剩下一个,其余人都将被杀掉。例如N=6,M=5,被杀掉的人的序号为5,4,6,2,3。最后剩下1号。 -Joseph used to solve the problem. Stack method. Josephus problem is a well-known problem: N individual circle, starting from the first report number, the first M months will be killed, what is left one, the others will be killed. For example, N = 6, M = 5, number of people being killed as 5,4,6,2,3. The last remaining No. 1.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Jorseve\Debug\Jorseve.exe
.......\.....\Jorseve.ilk
.......\.....\Jorseve.obj
.......\.....\Jorseve.pch
.......\.....\Jorseve.pdb
.......\.....\vc60.idb
.......\.....\vc60.pdb
.......\Jorseve.cpp
.......\Jorseve.dsp
.......\Jorseve.dsw
.......\Jorseve.ncb
.......\Jorseve.opt
.......\Jorseve.plg
.......\Debug
Jorseve
.......\.....\Jorseve.ilk
.......\.....\Jorseve.obj
.......\.....\Jorseve.pch
.......\.....\Jorseve.pdb
.......\.....\vc60.idb
.......\.....\vc60.pdb
.......\Jorseve.cpp
.......\Jorseve.dsp
.......\Jorseve.dsw
.......\Jorseve.ncb
.......\Jorseve.opt
.......\Jorseve.plg
.......\Debug
Jorseve