Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Data structs
Title: Josephus Download
  • Category:
  • CSharp
  • Tags:
  • [Text]
  • File Size:
  • 1kb
  • Update:
  • 2012-11-26
  • Downloads:
  • 0 Times
  • Uploaded by:
  • 353738466
 Description: Programming, simulation Josephus (Josephus): n individuals (numbered 1, 2, 3, ..., n (n> 0)) sitting around the circle clockwise, each holding a positive integer password. The beginning of any given two values: a first reported the number of people the number of i (0 <i <= n), and the other for the starting number off the upper limit of m. Then people start from the No. i in a clockwise direction from a starting sequence number off to stop the reported number of m. Report and report m, the columns, and his password as the new values ​ ​ of m in a clockwise since a reported number of re-starting the next person on the direction, ......, it goes on until all the total column so far. Design a program to simulate this process is given a column number of sequences.
 Downloaders recently: [More information of uploader 353738466]
 To Search:
File list (Check if you may need any files):
Josephus.txt
    

CodeBus www.codebus.net