Description: Josephus problem. The procedural requirements set numbered 1-n of n (n> 0) Personal clockwise circle. First 1st person clockwise 1 count off. Who reported m (m is a positive integer). Make it out of the line. And then the next person his start again 1 clockwise report the number of people reported to m, then make it out of the column. And so on until everyone in the circle column so far.
To Search:
File list (Check if you may need any files):
yuesehuanwenti.cpp