Description: Joseph No. 1,2, ...... n n individuals sit in a circle in a clockwise direction, everyone has one and only one password (a positive integer). Optionally a positive integer as the upper limit of the number off, clockwise from the beginning of the first person since 1 reported number, report m to stop reported number. Reported m the man out of the line, his password as the new value of m, starting from the next person in the clockwise direction to re-reported number, and so on, until all the columns until all.
To Search:
File list (Check if you may need any files):
约瑟夫问题
..........\output.txt
..........\readme.txt
..........\约瑟夫.cpp
..........\约瑟夫.exe