2387: 机智的外卖员

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

外卖员每天在大厦中送外卖,大厦共有L层(0

Input

当前所处楼层N和外卖配送的目的楼层M

Output

送达的最短时间

Sample Input Copy

5 17

Sample Output Copy

4

Source/Category