Description: n monkeys to choose the king, the election is as follows, all the monkeys by 1,2, ..., n number around a circle, the first look is in accordance with the 1,2, ..., m off, where a report m No. exit outside, so the cycle until the circle only when a monkey, the monkey is king.
To Search:
File list (Check if you may need any files):
猴子选大王数组.c
pudn.txt