Your task is to Calculate a + b.
输入格式:
Your task is to Calculate a + b.
输出格式:
For each pair of input integers a and b you should output the sum of a and b in one line, and with one line of output for each line in input.
输入样例:
在这里给出一组输入。例如:
2
1 5
10 20
输出样例:
在这里给出相应的输出。例如:
6
30
代码长度限制
16 KB
时间限制
400 ms
内存限制
64 MB
n = int(input())
for i in range(n):
a, b = list(map(int, input().split()))
print(a + b)
n = int(input())
for i in range(n):
a, b = list(map(int, input().split()))
print(a + b)