본문 바로가기

프로그래밍/백준

15552 빠른 A+B

1
2
3
4
5
6
7
import sys
num = int(sys.stdin.readline())
for i in range(num):
    temp = sys.stdin.readline().rstrip()                                
    a = int(temp.split(' ')[0])
    b = int(temp.split(' ')[1])
    print(a+b)
cs


'프로그래밍 > 백준' 카테고리의 다른 글

1018 체스판 다시 칠하기  (0) 2018.09.19
1003 피보나치수열  (0) 2018.09.11
5622 다이얼  (0) 2018.02.08
2908 상수  (0) 2018.02.08
1316 그룹 단어 체커  (0) 2017.10.20