Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
  • Category : Algorithm
  • Tags :
  • Update : 2012-11-26
  • Size : 5kb
  • Downloaded :0次
  • Author :蔡****
  • 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
With n mountains, computers and people on both sides as the game, the two sides take turns to move mountains. Provides the number of each move can not exceed k Hill Block, who moved the last one who loses. When the game starts, the computer asked people to enter the total number of the mountain (n) and each time the maximum number allowed to move mountains (k). And then asked people to begin, people need to move the mountain entered the number, the computer immediately how much output it to move mountains, and prompts the remaining number of mountain. The two sides take turns to move a mountain to move those mountains until the last date. Computer show who is the winner, and asked whether to continue. If people do not want to play, you can enter the total number of mountains is 0, the computer will tell the Council a total of over a few, the outcome of how the two sides.
Packet file list
(Preview for download)
搬山问题.cpp
搬山问题.dsp
搬山问题.dsw
搬山问题.ncb
搬山问题.opt
搬山问题.plg
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 one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.