Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop CSharp
  • Category : CSharp
  • Tags :
  • Update : 2013-03-31
  • Size : 7kb
  • 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
N test tubes of varying lengths in a laboratory. Your task is to write a program, with a robotic arm from small to large order according to height. For the relative position of the same height before and after the test tube, sort should remain unchanged. Sorting method shown in Fig. Sorting requires n times of operation, wherein the i-th operation is the reversed sequence I ~~ Pi, where Pi is the i-th test tube current location of the target state. For instance, In the figure, the initial P1 = 4, therefore inverted test tube 1 to 4 will be able to put the most left of the tube homing. Similarly, before the second operation P2 = 6, therefore inverted 2 to 6 can be the number of the left two tubes homing. Your task is the output P1, P2, ..., PN value of, in order to control the robotic arm moves. Note that i = Pi actually does not need to be reversed, but still need to output Pi. [Input Format] input consists of multiple sets of test data. Each test tubes the number n (1 ≤ n ≤ 100000), t
Packet file list
(Preview for download)


机器排序\sort.cpp
........\机器排序.doc
机器排序
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.