Files
kattis/pieceofcake2.py
2023-06-24 21:07:31 +02:00

5 lines
89 B
Python

n, h, v = map(int, input().split())
x = max(h, n - h)
y = max(v, n - v)
print(x * y * 4)