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 : 2012-11-26
  • Size : 1kb
  • Downloaded :0次
  • Author :ma***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
Josephus: The numbers 1, 2, 3, ..., of n of n individuals sitting around a circle in a clockwise direction, the person holding a code (positive integer). Opened Beginning to Choose a positive integer m as the upper limit of the reported number of start from the first person in a clockwise direction since a start sequence number off the report m stop. Reported m the person out of the line, the password as the new values ​ ​ of m from the next person in the clockwise direction from a number off again, it goes straight To all until all the columns. Single cycle of the n individuals linked list storage structure, after the end of the run, the output followed by the serial number of the team.
Packet file list
(Preview for download)
约瑟夫(Josephus)环问题 .cpp
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.