Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Data structs
Title: Josephus Download
 Description: Joseph (Joseph) a description of the problem is: No. 1, 2, ..., n-n individuals sitting around a circle in a clockwise direction, the person holding a code (positive integer). Start Choose a positive integer m, reported that the number of upper limit from the first person clockwise from 1 order report number, report m stop the reported number. Reported m the person out of the line, his password as the new values ​ ​ of m, starting from the next person in the clockwise direction from a number off again, and so on, until all all columns so far. Try to design a program to calculate the column order.
 Downloaders recently: [More information of uploader a296175646]
 To Search:
File list (Check if you may need any files):
新建 Microsoft Word 文档.doc
    

CodeBus www.codebus.net