| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 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 | 
                                        Tags
                                        
                                    
                                        
                                    - All Longest Strings
 - Numpy
 - codesingal
 - centuryFromYear
 - adjacentElementsProduct
 - Counting cells in a blob
 - 파이썬 포렌식
 - C++
 - flask
 - 백준
 - 파이썬머신러닝완벽가이드
 - markdown
 - cpp
 - baekjun
 - codesignal
 - Python
 - til
 - 피보나치 수
 - data_structure
 - almostIncreasingSequence
 - matrixElementsSum
 - Sequential Search
 - recursion
 - Daily Commit
 - shapeArea
 - 2750
 - collections.deque
 - 10953
 - 2015 봄학기 알고리즘
 - 수 정렬하기
 
                                        Archives
                                        
                                    
                                        
                                    - Today
 
- Total
 
Introfor
[백준] 5532번 방학 숙제 본문
1 2 3 4 5 6 7 8 9 10 11 12 13 14  | from 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)  | cs | 
'Programming_prob > BaekJoon' 카테고리의 다른 글
| [백준] 5596번 시험 점수 (0) | 2020.10.19 | 
|---|---|
| [백준] 3004번 체스판 조각 (0) | 2020.10.19 | 
| [백준] 2525번 오븐 시계 (0) | 2020.10.19 | 
| [백준] 2480번 주사위 세개 (0) | 2020.10.18 | 
| [백준] 1978번 소수 찾기 (0) | 2020.10.10 | 
                          Comments