Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Data structs

zhuiyezhu

  • Category : Data structs
  • Tags :
  • Update : 2012-11-26
  • Size : 1kb
  • 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
Animal world always makes a cheetah run with speed and beauty. That day, the cheetah eye on a wild boar, and now To catch the color because the cheetah is well protected, so the boar did not find cheetah. Cheetah and wild boar in the same line, Their coordinates are x and y, x is less than or equal y,. Now there are two cheetah run method: 1. Running a grid, that is, from x to x 1 or x-1 2. Running twice, that is, from x to 2* x. Now find at least a few steps you catch wild boar. ★ data input Line 1 input is given two positive integers x, y (0 <x <= y <= 100000), respectively, the coordinates of the cheetah and wild boar coordinates. ★ data output Only one line of output, given the least number of steps. Input Example Example Output 5 17 4
Packet file list
(Preview for download)
liebao and yezhu.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 one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.