Files
kattis/janitortroubles.py
2023-07-03 19:54:00 +02:00

5 lines
123 B
Python

a, b, c, d = map(int, input().split())
s = (a + b + c + d) / 2
k = ((s - a) * (s - b) * (s - c) * (s - d)) ** 0.5
print(k)