[UVA][數學] 1363 - Joseph's Problem
Joseph likes taking part in programming contests. His favorite problem
is, of course, Joseph's problem. It is stated as follows.
There are n persons numbered from 0 to n - 1
standing in a circle. The person number k, counting from the person
number 0, is exe...