文件名称:Joseph-Problem
介绍说明--下载内容均来自于网络,请自行研究使用
约瑟夫问题。设有n个人做作圆桌周围,从第s个人开始报数,报到m的人出列,然后再从下一个人开始报数,数到m的人又出列,如此重复,直到所有的人都出列为止。要求按出列的先后顺序输出每个人的信息。-Joseph problems. N individual has contrived around the round table, I began to count off s individual report m people out of the column, and then began to count off the next person, and the number of people out of the m column, repeat until all the people out of the line so far. Required by the order of the columns in the output of each person s information.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Joseph Problem
..............\说明.txt
..............\约瑟夫问题.cpp