백준 21212번: Cakes #Python

ColorlessDia·2025년 10월 28일

algorithm/baekjoon

목록 보기
709/808
import sys

input = sys.stdin.readline

N = int(input())

count = 10001

for _ in range(N):
    A, B = map(int, input().split())

    if B // A < count:
        count = B // A

print(count)

0개의 댓글