#include<iostream>
using namespace std;
int main()
{
int n,i;
int a, b;
cin >> n;
for (i = 1; i <= n; ++i)
{
cin >> a >> b;
cout << a + b << endl;
}
return 0;
}
Input
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.
输入包含一个整数N在第一行,然后N行。每一行包含一对整数a和b,用一个空格隔开,每行一个整数对
Output
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.
对于每一对输入整数a和b你应该输出一行,a和b的值,并用一行输出在一行。