Description
求A+B
Input
多组输入,每组用例占一行包括两个整数a和b,以文件尾结束输入
Output
对于每组用例,输出a+b
Sample Input
1 5
10 20
Sample Output
6
30
Solution
纯净水
Code
#include<iostream>
using namespace std;
int main()
{
int a,b;
while(cin>>a>>b)
{
int ans=a+b;
cout<<ans<<endl;
}
return 0;
}