Files
kattis/jointjogjam.py
2023-10-17 22:10:00 +02:00

6 lines
193 B
Python

ksx, ksy, osx, osy, kex, key, oex, oey = map(int, input().split())
d1 = ((ksx - osx) ** 2 + (ksy - osy) ** 2) ** (0.5)
d2 = ((kex - oex) ** 2 + (key - oey) ** 2) ** (0.5)
print(max((d1, d2)))