Distance

2.2

16 votes
Easy
Problem

Sona is in-charge of inviting the guest. She don't know how much far they are from her place. She knows the guest house co-ordinates (gx,gy)and the co-ordinates of the place where she is standing(sx,sy). Help her to calculate the distance between the guest house and her place.

Input

First line contains guest house co-odinates gx,gy and the second line contains Sona's coordinates sx,sy

Output

Print the distance and round off it to 5 digits

constraints

1< = gx,gy,sx,sy< = 10

Time Limit: 2
Memory Limit: 256
Source Limit:
Explanation

Sona is in-charge of inviting the guest. She don't know how much far they are from her place. She knows the guest house co-ordinates and the co-ordinates of the place where she is standing. Help her to calculate the distance between the guest house and her place.

Editor Image

?