Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Data structs
  • Category : Data structs
  • Tags :
  • Update : 2017-07-06
  • Size : 31kb
  • 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
The Joseph question is a classical problem. Known n individuals (may wish to be numbered 1, 2, 3, respectively,... N, representative) sitting around a round table, K from a number of people, from the beginning of 1 clockwise off 1, 2, 3,..., the clockwise to the m, and the output of the column. Then start from the next person out of the column to start clockwise off from 1, the count of M, and the output of the column,... This repeated until all of the people out around the table. Input: n, K, M Output: according to the order of the columns in the output column number, number separated by a space, each of the 10 numbers for a row. The illegal input corresponds to the following output A) Input:: n, K, m, any less than 1 Output: n, m, K, must, bigger, than, 0. B) Input: k>n Output: K, should, not, bigger, than, n. example input 9,3,2 output 46813729, 5
Packet file list
(Preview for download)
ysf.exe
ysf.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.