文件名称:huan
介绍说明--下载内容均来自于网络,请自行研究使用
约瑟夫环问题的代码。设有N个人围坐一圈,从某个人开始报数,数到M的人出列,接着从出列的下一个人开始重新报数,数到M的人又出列,如此下去,直到所有人都出列为止.试设计确定他们的出列次序序列的程序。-Joseph cycle problem code. With N individuals sitting around a circle, starting from the one person reported the number of people who count the column M, and then the next person from the column began to re-report the number of people who count M and the column, and so on until Everyone out of the line up. the trial design to determine their order of sequence of the column procedure.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
j.cpp