Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Data structs
  • Category : Data structs
  • Tags :
  • Update : 2018-04-03
  • Size : 592kb
  • 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
According to the subject analysis, it is assumed that the chief pipeline is located on the east side of all pipes (or the west side), the total length of the oil pipeline between the oil well and the main pipe is sum1. If the position of the main pipe is located in the middle of all the longitudinal coordinates of the pipe, the total length of the pipeline is sum2. Thus, sum1>=sum2 can be calculated. So I use second ideas to transform the problem into the problem of finding K number in N numbers. The length of the total oil pipeline can be obtained by reducing the median value of each oil pipeline, and finally, it can solve the problem. According to the requirements of the subject, we need to determine the optimal location of the main pipeline in a linear time. In the sorting algorithm, the best is the fast sorting, and according to the title, we do not need to sort all the N numbers, so we can use the idea of fast sorting to achieve the goal.
Packet file list
(Preview for download)
FilenameSizeUpdate
3 0 2016-10-31
3\3.dsp 4225 2016-10-28
3\3.dsw 510 2016-10-28
3\3.ncb 41984 2016-10-31
3\3.opt 48640 2016-10-31
3\3.plg 1277 2016-10-30
3\Debug 0 2016-10-30
3\Debug\3.exe 184394 2016-10-30
3\Debug\3.ilk 211552 2016-10-30
3\Debug\3.pch 204204 2016-10-30
3\Debug\3.pdb 1082368 2016-10-30
3\Debug\pipeline.obj 8098 2016-10-30
3\Debug\vc60.idb 74752 2016-10-30
3\Debug\vc60.pdb 110592 2016-10-30
3\pipeline.cpp 2688 2016-10-30
3\test 0 2016-10-30
3\test\Debug 0 2016-10-30
3\test\Debug\test.exe 184402 2016-10-30
3\test\Debug\test.ilk 198144 2016-10-30
3\test\Debug\test.pch 220912 2016-10-30
3\test\Debug\test.pdb 451584 2016-10-30
3\test\Debug\test1.obj 6568 2016-10-30
3\test\Debug\vc60.idb 33792 2016-10-30
3\test\Debug\vc60.pdb 45056 2016-10-30
3\test\test.dsp 4261 2016-10-30
3\test\test.dsw 516 2016-10-30
3\test\test.ncb 41984 2016-10-30
3\test\test.opt 48640 2016-10-30
3\test\test.plg 1524 2016-10-30
3\test\test1.cpp 2452 2016-10-30
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.