文件名称:josephus
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-05-03
- 文件大小:
- 165kb
- 下载次数:
- 0次
- 提 供 者:
- 吴**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
约瑟夫环运作如下:1、一群人围在一起坐成环状(如:N)2、从某个编号开始报数(如:K)3、数到某个数(如:M)的时候,此人出列,下一个人重新报数4、一直循环,直到所有人出列,约瑟夫环结束-Josephus is the application of a mathematical problem: Given n individuals (with numbers 1,2,3 ... n, respectively) sitting around a round table. From the number of people reported a few k, m is the number of out of that person his next and from one individual to start off, count to m that another person out so the law of repeated until the round table were all out of the column.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
经典\josephus\Debug\josephus.exe
....\........\.....\josephus.ilk
....\........\.....\josephus.obj
....\........\.....\josephus.pch
....\........\.....\josephus.pdb
....\........\.....\vc60.idb
....\........\.....\vc60.pdb
....\........\josephus.cpp
....\........\josephus.dsp
....\........\josephus.plg
....\经典.dsw
....\经典.ncb
....\经典.opt
....\josephus\Debug
....\josephus
经典