Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Data structs

Josephus

  • Category : Data structs
  • Tags :
  • Update : 2013-10-10
  • Size : 72kb
  • Downloaded :0次
  • Author :毛****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
Data structure curriculum design, to achieve the following questions: Joseph (Josephus) Central question: numbered 1,2,3, ..., n, n individuals in a clockwise direction around a circle, each holding a password (positive integer). An optional start a positive integer as the upper limit of the number of reported m, started from the first clockwise order starting from a number of newspaper, report m stop. Reported m people out of the line, his password as the new value of m, in a clockwise direction from his people began again the next number from a newspaper, and so on, until all the series so far. N round robin to establish a personal list storage structure, after the end of the run, the output followed a team of people' s serial number.
Packet file list
(Preview for download)


约瑟夫\约瑟夫.cpp
......\约瑟夫.cpp.save
......\约瑟夫.exe
......\约瑟夫.o
......\约瑟夫程序图.doc
约瑟夫
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.