반응형
https://www.acmicpc.net/problem/5532
import math
L = int(input())
A = int(input())
B = int(input())
C = int(input())
D = int(input())
print(L - max(math.ceil(A/C), math.ceil(B/D)))
반응형
'📚 Algorithm' 카테고리의 다른 글
[Python]백준 11283번 한글2 (0) | 2021.07.30 |
---|---|
[Python] 백준 2522번 별찍기 -12 (0) | 2021.07.23 |
[Python] 백준 14928번 큰 수 (BIG) (0) | 2021.07.14 |
[Python] 17388번 와글와글 숭고한 (3) | 2021.07.09 |
[Python] 백준 10039번 평균 점수 (0) | 2021.07.09 |
댓글