文件名称:Josephus
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 367kb
- 下载次数:
- 0次
- 提 供 者:
- 陆**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
有编号从1到N的N个人坐成一圈报数,报到M的人出局,下一位再从1开始,
如此持续,直止剩下一位为止,报告此人的编号X。输入N,M,求出X。-Numbered from 1 to N of the N individuals into a lap to sit reported the number of people who report M out, the next one to start from, and so continued until the remaining one date, the report of the person s ID X. Input N, M, to derive X.
如此持续,直止剩下一位为止,报告此人的编号X。输入N,M,求出X。-Numbered from 1 to N of the N individuals into a lap to sit reported the number of people who report M out, the next one to start from, and so continued until the remaining one date, the report of the person s ID X. Input N, M, to derive X.
相关搜索: josephus
(系统自动生成,下载前可以参看下载内容)
下载文件列表
约瑟夫环
........\Debug
........\main.cpp
........\main.dsp
........\main.dsw
........\main.ncb
........\main.opt
........\main.plg
........\Debug
........\main.cpp
........\main.dsp
........\main.dsw
........\main.ncb
........\main.opt
........\main.plg