Description: Josephus is a mathematical application problems: Given n individuals (with numbers 1,2,3 ... n, respectively) were sitting at a round table. From the number of people reported the number k, the number to the person out of the column m him the next person and from one reported the number of numbers to m the man was out of the line so the law repeated until the round table were all out of the column.
To Search:
File list (Check if you may need any files):
约瑟夫环.cpp