题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1090
代码:
#include <iostream>
#include<cstdio>
using namespace std;
int main()
{
int N;
int a,b;
scanf("%d",&N);
while(N--)
{
scanf("%d %d",&a,&b);
printf("%d\n",a+b);
}
return 0;
}