백준-11021번(A+B-7)-python
def hap(x, y):
return x + y
i = int(input())
c = [[0 for j in range(2)] for i in range(i)]
d = []
for a, b in c:
a, b = map(int, input().split())
d.append(hap(a, b))
x = 1
for i in d:
print('Case #%d:' % x, i)
x += 1
'알고리즘 > 백준' 카테고리의 다른 글
백준-14681번(4분면고르기)-python (0) | 2023.11.23 |
---|---|
백준-11022번(A+B-8)-python (0) | 2023.11.23 |
백준-8393번(합)-python (0) | 2023.11.23 |
백준-2884번(알림시계)-python (0) | 2023.11.23 |
백준-2741번(N찍기)-python (0) | 2023.11.23 |