728x90
반응형
SMALL
n, m = map(int, input().split())
while True:
if n == 0:
print("비와이")
break
else:
a,b = map(int, input().split())
m += a-b
n -= 1
728x90
반응형
LIST
'백준문제 > 브론즈 5' 카테고리의 다른 글
백준) 28701번 - python (0) | 2024.03.02 |
---|---|
백준) 25314번 - python (1) | 2024.03.01 |
백준) 11021번 - python (0) | 2024.02.28 |
백준) 10818번 - python (0) | 2024.02.27 |
백준)10817번 - python (0) | 2024.02.26 |