diff --git a/janitortroubles.py b/janitortroubles.py new file mode 100644 index 0000000..3d44052 --- /dev/null +++ b/janitortroubles.py @@ -0,0 +1,4 @@ +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)