2019.03.08) 백준 이분탐색 특집 2편 -1300, 2805 (PyPy3)
이분탐색은 이상한데도. 쓰일수가 있구나를 알았다 1300번 1234567891011121314151617181920c = int(input())h = int(input()) left = 1right = h while right >= left: count = 0 mid = (left + right) // 2 # 최소 높이만큼 더하기 for i in range(1, c + 1): count += min(mid // i, c) if count
2019.03.08