Introduction - If you have any usage issues, please Google them yourself
Has m mountains monkeys to choose the king, the election would be as follows: all the monkeys carried out from 1 to m number and sitting around, starting from the first sequence 1,2, ... n continue to report the number of those who reported n No. monkeys have to withdraw from the outside, to do the same cycle off until the circle only when a monkey, the monkey is king. magnate output number.
Packet : 111186731monkey.rar filelist
monkey.c