Vector length
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the length of the vector.
Input
Four integers x[1]
, y[1]
, x[2]
, y[2]
- the coordinates of the beginning and end of the vector, respectively. All input data do not exceed 10000 by absolute value.
Output
Print the length of the given vector with 6 digits after the decimal point.
Examples
Input #1
Answer #1
Submissions 10K
Acceptance rate 59%