问题1272--A+B for Input-Output Practice(V)

1272: A+B for Input-Output Practice(V)

[命题人 : ]
时间限制 : 1.000 sec  内存限制 : 64 MB

题目描述

Your task is to Calculate a + b.

输入

Input contains an integer N in the first line, and then N lines follow. Each line consists of a pair of integers a and b, separated by a space, one pair of integers per line.

输出

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.

样例输入 Copy

2
1 5
10 20

样例输出 Copy

6
30

来源/分类