- Category:
- CSharp
- Tags:
-
- File Size:
- 14kb
- Update:
- 2014-12-29
- Downloads:
- 0 Times
- Uploaded by:
- 吴佳桐
Description: A description of Josephus (Joseph) the problem is: numbered 1,2, ..., n by n individuals sitting clockwise circle, each holding a password (positive integer). Optional start a positive integer as the number of reported upper limit m, the first person to start a clockwise direction since the beginning of the sequence reported number, the number of reported stops at registration m. M people out newspaper columns, his password as the new value of m, its beginning in the next person in a clockwise direction a number off again, and so on, until all the columns until everyone. Trial design by tired Josephus problem solving out the order of columns.
To Search:
File list (Check if you may need any files):
程序.docx