19698번 풀이 [Python]

sua·2022년 7월 16일
0

Baekjoon

목록 보기
86/161
post-thumbnail

문제


풀이

a, b, c, d = map(int, input().split())
n = (b // d) * (c // d)
if n >= a:
    print(a)
else:
    print(n)
profile
가보자고

0개의 댓글