← Back to List

19698번: 헛간 청약 ↗

Solutions

Python 3
61 B | 61 chars
N,W,H,L=map(int,input().split())
print(min(N, (W//L)*(H//L)))