Josephus problem: There are n personal cordons Arranging the order. From the first person countin (report number from 1-3), who report 3 people exit the circle, and asked who the last remaining original No. few.

NoSuchKey

Guess you like

Origin www.cnblogs.com/lisijia/p/11454561.html