728x90
반응형

단순 사칙연산 문제이다.

N, W, H, L = map(int, input().split())
print(min((W//L)*(H//L), N))
728x90
반응형

+ Recent posts