Description: Numbered 1,2, ..., individuals sitting around a clockwise direction, each holder of a password (positive integer). One began to choose a positive integer as the number of upper limit reported from the first person since the beginning of a clockwise direction in accordance with the order of one to start off, back off, when to stop. Those who reported a series of his password as a new value, in a clockwise direction from him on the restart from the beginning of a one off, and so on, until all the column until all. Try to design a procedure to derive the column order.
To Search:
- [VideoCap] - c language video collection procedures,
File list (Check if you may need any files):