Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Data structs
Title: Josephus Download
 Description: Josephus problem: Let numbered 1, 2, 3, ...... n n (n> 0) individuals sitting around a circle in a clockwise direction, each person holds a positive integer password. Optional when the start of a positive integer as reported the maximum number of m clockwise direction from the first person, self-a starting sequence reported number, report m stop the reported number of reported m the column, as a new password the value of m, start again from 1 number off from his next personal. It goes on, until all the columns until all. Let n be the maximum take 30. Asked to design a program to simulate the process, find the column number sequence
 Downloaders recently: [More information of uploader 梁颖]
 To Search:
File list (Check if you may need any files):
 

2\1.cpp
.\1.dsp
.\1.dsw
.\1.ncb
.\1.opt
.\1.plg
2
    

CodeBus www.codebus.net