728x90
반응형

단순 사칙연산 문제이다.

n, h, v = map(int, input().split())
res = max(h, n-h) * max(v, n-v)
print(res*4)
728x90
반응형

+ Recent posts