- Category:
- CSharp
- Tags:
-
[C/C++]
[源码]
- File Size:
- 1kb
- Update:
- 2014-05-14
- Downloads:
- 0 Times
- Uploaded by:
- aaaa
Description: A description of Josephus (Josephus) question is: numbered 1,2, ..., n n individuals clockwise direction around a circle, each holding a password (positive integer). Choose a positive integer beginning as reported upper limit m, began a clockwise direction from the first person to stop self-reported the number 1 to start off, report m. M out of newspaper columns, his password as the new value of m, from his start in the clockwise direction from the next person to re-report the number 1, and so on, until all the people all of the columns so far.
To Search:
File list (Check if you may need any files):
Joseph loop.cpp