Description: The number is 1, 2,...... N's n individuals sit in circles clockwise, with each person having only one password (positive integer). One began to choose a positive integer as the number of the upper limit of M, from the
One is to start a clockwise direction from the beginning of the order number 1, back off m stop. M
People out of the line, his password as the new m value, from his start in a clockwise direction of the next person
To count off from 1, and so on, until all the columns so far. Design a procedure to find out the column order.
To Search:
File list (Check if you may need any files):
约瑟夫\main.cpp
约瑟夫\main.exe
约瑟夫\main.o
约瑟夫\约瑟夫.cpp
约瑟夫\约瑟夫.layout
约瑟夫\bin\Debug
约瑟夫\obj\Debug
约瑟夫\bin
约瑟夫\obj
约瑟夫