Programming/Python & Data Structures
[Baekjoon/Python3] 19698번 헛간 청약
HooNeee
2020. 12. 8. 20:49
[Baekjoon/Python3] 19698번 헛간 청약
19698번: 헛간 청약
$1 \le N, W, H, L \le 1,000$
www.acmicpc.net
n, w, h, l = map(int, input().split())
if (w // l) * (h // l) >= n:
print(n)
else:
print((w // l) * (h // l))