Description: Joseph (Joeph) a description of the problem is: number is 1,2, ..., n of n individuals sitting around the circle clockwise, each holding a password (positive integer). Choose a positive integer beginning, as the reported upper limit of the number of m, starting from the first person clockwise order starting from a report number, report the number of m, to stop reporting. Who reported m out of the column, his password as the new m values in the clockwise direction from his next start back from a reported personal number, and so on, until everyone up all the columns. Try to design a program calculated the column order.
To Search:
File list (Check if you may need any files):
1.cpp