文件名称:JosephusRing
介绍说明--下载内容均来自于网络,请自行研究使用
n个人围成一个圈,并将他们从1到n编上号,从号为1的那个人那里开始计数,每次消去第二个人,到最后只留下一个幸存者。-N individual into a circle, and their number from 1 to n, start counting from the number 1 person, every time elimination, the second to the last to leave only a survivor.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
JosephusRing.cpp