Description: Sorting system design features: Let numbered 1,2,3, ... ..., n of the n (n> 0) individuals sitting clockwise circle, each person holds a positive integer password. The beginning of a positive integer as reported optional maximum number of m, starting from the first person in a clockwise direction starting from a sequence reported the number of m is to stop the newspaper to report the number of people who reported m out of the column, his password as a new m value, the next person start from his re-reported from a number of. If things go on, until all of the column until all the up. Make n take the maximum 30. To design a program to simulate this process, find out the column number sequence.
To Search:
File list (Check if you may need any files):
a.txt