Description
计算 a + b.
Input
多组测试数据。
第一行给出整数n,表示共有n组测试数据。
接下来n行,每行2个整数。
Output
每组测试数据输出两个整数的和。
Sample Input
2
1 5
10 20
Sample Output
6
30
Code
#include<iostream>
using namespace std;
int main()
{
int n;
int a,b;
cin>>n;
while(n--)
{
cin>>a>>b;
cout<<a+b<<endl;
}
return 0;
}