Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem2156--Calculate distance
2156: Calculate distance
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
106
Solved:
25
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
Define a point structure type, enter the coordinates of two points, and calculate the distance between the two points
Input
Input 2 point coordinates
Output
Output distance
Sample Input
Copy
(0,0) (1,2)
Sample Output
Copy
2.2
Source/Category
201