Joint Jog Jam

This commit is contained in:
jethro committed 2023-10-17 22:10:00 +02:00
1 parent a3320343ef
commit 786cf4dc88
1 file changed
+5
+5
View File
@@ -0,0 +1,5 @@
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)))