文件名称:jusephus
介绍说明--下载内容均来自于网络,请自行研究使用
编号为1,2,3,。。。,n的n个人围坐在一圆桌旁,每人持有一个正整数密码。从第一个人开始报数,报到一个预先约定的正整数m 时,停止报数,报m 的人退席,下一个人重新从1开始报数,依此重复,直至所有的人都退席。-Numbered 1,2,3,. . . , N of n individuals sitting at a round table, each holding a positive integer code. The number of individuals starting from the first report, to report a pre-agreed a positive integer m, to stop reporting the number of people who reported m withdraw, the next person to re-start from a number of reports, and so repeat until all of them withdrew.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jusephus.c