Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
  • Category : Algorithm
  • Tags :
  • Update : 2014-04-29
  • Size : 13kb
  • Downloaded :0次
  • Author :Su
  • 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
Queue program: n soldiers were numbered 1,2,3, ..., n, each time stand n soldiers Executive is required from the head to the tail followed by numbered rows 1,2,3 ..., n soldiers . If you order in chaos, sir very unhappy consequences will be very serious. Once the order by number of soldiers just stand a good team, suddenly Executive ordered that all the soldiers immediately take the kettle back to the dorm, going to perform a temporary task, due to the time constraints, panic soldiers came back to get the kettle, and some could not stand to they should stop position. Executive unhappy, then ordered the soldiers to swap positions through twenty-two method according to the original order stand, and states: every exchange position, only the first row of the first row and the addition of either a foreign exchange position of the person. Now tell your soldiers in formation, and asked how many times the minimum exchange can be restored to 1,2,3,. . . , N for the order.
Packet file list
(Preview for download)


change
......\change.c
......\change.docx
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 :
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.