Home => ProblemSet => 200.200-41:偶遇
Problem1628--200.200-41:偶遇

1628: 200.200-41:偶遇

Time Limit: 1 Sec  Memory Limit: 128 MB  Submit: 0  Solved: 21
[ Submit ] [ Status ] [ Creator: ][ 参考程序 ]

Description

Input

一行,包含四个用空格隔开的正整数,表示AB两点的位置(x1,y1)、(x2,y2)。
输入数据保证墩墩和容融在合理的外围跑道位置。

Output

一行,包含一个整数,表示两人相遇墩墩所需走的最短距离。

Sample Input Copy

1 6 19 10

Sample Output Copy

32

Source/Category