文件名称:Joseph_Circle
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2015-06-15
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 朱**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
约瑟夫问题如下:已知n个人(n>=1)围桌一园桌周围,从1开始顺序编号。从序号为1的人开始报数,顺时针
数到m的那个人出列。他的下一个人又从1开始报数,数到m的那个人又出列。依此规则重复下去,直到所有人
全部出列。求解最后一个出列的人的编号!-Joseph problem as follows: Given n people (n> = 1) sit around a park around the table, in order a start number. From number 1 people are beginning to report the number of clockwise
Count the man out of the line m. His next person and 1 Countin, count to m the man was out of the column. So the rule is repeated until everyone
All of the columns. Solving the last person out of the line number!
数到m的那个人出列。他的下一个人又从1开始报数,数到m的那个人又出列。依此规则重复下去,直到所有人
全部出列。求解最后一个出列的人的编号!-Joseph problem as follows: Given n people (n> = 1) sit around a park around the table, in order a start number. From number 1 people are beginning to report the number of clockwise
Count the man out of the line m. His next person and 1 Countin, count to m the man was out of the column. So the rule is repeated until everyone
All of the columns. Solving the last person out of the line number!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
约瑟夫\Joseph_Circle.cpp
......\Joseph_Circle.dsw
约瑟夫