The length of segment
(Time: 1 sec. Memory: 16 MB Difficulty: 12%)
input
The input file contains the coordinates of INPUT.TXT endpoints format X1, Y1, X2, Y2. All coordinates - integers not exceeding 1000 in absolute value.
output
The output file OUTPUT.TXT output length of the segment with accuracy not worse than 10-5.
example
INPUT.TXT :3 4 8 4
OUTPUT.TXT:5
Last edited on
What do you need help with?
Lol, that is a pretty funny way to ask a question