Description: Joseph (Joseph) a description of the problem is: the number is 1,2,..., n n
Around a circle, each holding a password (positive integer). A selection of a positive integer as
As the number of upper limit of M, starting the first person in a clockwise direction 1 to the beginning of the order number, report m
Stop off. Who reported m out of line, it will be the password as the new m value, the individual to start a new round of
Off, so repeatedly, until the last one is the winner. Try to design a program obtained along the column
Order.
To Search:
File list (Check if you may need any files):
Joseph1.cpp
JOSEPH.CPP
Joseph.h