文件名称:Joseph
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-06-11
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- z*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
解约瑟夫环的问题
约瑟夫环是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。-Joseph ring problem
Joseph ring is the application of a mathematical problem: n known individual (numbered 1, 2, 3... n, respectively) sitting around a round table. People began to count off from Numbers for k, count to m out the man His next start from 1 number off, count to m the man break the ranks In accordance with the law repeatedly, until the round out all the people around you.
约瑟夫环是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。-Joseph ring problem
Joseph ring is the application of a mathematical problem: n known individual (numbered 1, 2, 3... n, respectively) sitting around a round table. People began to count off from Numbers for k, count to m out the man His next start from 1 number off, count to m the man break the ranks In accordance with the law repeatedly, until the round out all the people around you.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Joseph.java