Description: Joseph, a description of the problem: numbered 1,2 ...., n individuals in a clockwise direction around a circle, one begins optionally a positive integer as the upper limit of the number of reported m, from the first person Start clockwise order starting from one number off, stop newspaper report m number. Reported m people out of the column, and so on, until all the columns all so far. The use of circular linked list structure for storage simulate this process, in accordance with the order of the columns in turn outputs the number of people out of the column.
To Search:
File list (Check if you may need any files):
lsh.cpp