资 源 简 介
猴子选大王一堆猴子都有编号,编号是1,2,3 ...m ,这群猴子(m个)按照1-m的顺序围坐一圈,从第1开始数,每数到第N个,该猴子就要离开此圈,这样依次下来,直到圈中只剩下最后一只猴子,则该猴子为大王。-Elected king of the monkeys have a bunch of monkeys number, number is 1,2,3 ... m, this group of monkeys (m) of 1-m in accordance with the order around a circle, from the first one started a few, each number to the first N months, the monkeys will leave this circle, and so on down until the final lap in only a monkey, the monkey for the king.