본문 바로가기
백준문제/브론즈 4

백준) 5532번 - python

by kiseno 2024. 3. 29.
728x90
반응형
SMALL
import math
day = [int(input()) for i in range(5)]
print(day[0] - math.ceil(day[1] / day[3]) if math.ceil(day[1] / day[3]) >= math.ceil(day[2] / day[4]) else day[0] - math.ceil(day[2] / day[4]))
728x90
반응형
LIST

'백준문제 > 브론즈 4' 카테고리의 다른 글

백준) 10987번 - python  (0) 2024.03.31
백준) 5543번 - python  (0) 2024.03.30
백준) 5524번 - python  (0) 2024.03.28
백준) 5300번 - python  (0) 2024.03.27
백준) 4714번  (0) 2024.03.26