Search

69 백준_Python [10833] 사과

tot = int(input()) remain_tot = 0 for _ in range(tot): a,b = map(int,input().split()) remain_tot += b%a print(remain_tot)
Python
복사