| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- recursion
- til
- Python
- flask
- All Longest Strings
- Sequential Search
- 백준
- Daily Commit
- codesignal
- baekjun
- almostIncreasingSequence
- 피보나치 수
- shapeArea
- matrixElementsSum
- codesingal
- collections.deque
- 수 정렬하기
- Numpy
- C++
- data_structure
- 파이썬 포렌식
- cpp
- adjacentElementsProduct
- markdown
- 10953
- 파이썬머신러닝완벽가이드
- 2750
- centuryFromYear
- 2015 봄학기 알고리즘
- Counting cells in a blob
Archives
- Today
- Total
Introfor
[백준] 5532번 방학 숙제
1234567891011121314from math import ceil def solution(): lst = [int(input()) for _ in range(5)] kor_ = ceil(lst[1]/lst[3]) math_ = ceil(lst[2]/lst[4]) if kor_ > math_: return lst[0] - kor_ return lst[0] - math_ res = solution()print(res)Colored by Color Scriptercs
Programming_prob/BaekJoon
2020. 10. 19. 23:37