Description: n monkeys to choose the Monkey King, all the monkeys by 1,2, ..., n No sitting around, starting from No. 1 by 1,2, ..., m the number reported, where m number of monkeys to report exit out of the loop, reported that the number of cycles until the circle remains a monkey, this monkey is the Monkey King. Write a program to achieve the above process, n and m from the keyboard input.
To Search:
File list (Check if you may need any files):
10.14-zuoye
...........\10.14-zuoye.cpp
...........\10.14-zuoye.ncb
...........\10.14-zuoye.sln
...........\10.14-zuoye.suo
...........\10.14-zuoye.vcproj
...........\Debug
...........\.....\10.14-zuoye.exe
...........\.....\10.14-zuoye.ilk
...........\.....\10.14-zuoye.obj
...........\.....\10.14-zuoye.pch
...........\.....\10.14-zuoye.pdb
...........\.....\BuildLog.htm
...........\.....\stdafx.obj
...........\.....\vc70.idb
...........\.....\vc70.pdb
...........\ReadMe.txt
...........\stdafx.cpp
...........\stdafx.h