Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Data structs
Title: liebao Download
 Description: 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 run double, 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 5174 朗读 显示对应的拉丁字符的拼音 字典- 查看字典详细内容Google 翻译适合以下用途:搜索手机聊天商务关于 Google 翻译关闭即时翻译隐私权政策帮助 © 2010商务工具译者工具包关于 Google 翻译博客隐私权政策帮助
 To Search:
File list (Check if you may need any files):
liebao.cpp
    

CodeBus www.codebus.net