본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬]21212번 Cakes

by 현장 2021. 4. 15.

-코드

t = int(input())
arr = []

for i in range(t):
    a, b = list(map(int, input().split()))
    arr.append(b // a)
print(min(arr))