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 : 2015-04-29
  • Size : 5kb
  • 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
 A description of the problem are: number 1,2, ..., n of n individuals sitting around a circle clockwise, each holding a password (positive integer). Choose a positive integer beginning as a limit on the number of reported m, starting the first person to start a clockwise direction a report number, report the number of reported m stop. Who reported m out of line, his password as the new m value, in a clockwise direction the next person he began to re-reported a number, it goes on until all the people all of the columns so far. Design a program, according to the column order prints each number.
Packet file list
(Preview for download)


josephus\game.cpp
........\game.h
........\game.ui
........\josephus.pro
........\josephus.pro.user
........\main.cpp
........\mainwindow.cpp
........\mainwindow.h
........\mainwindow.ui
josephus
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.