The input will consist of a series of pairs of integers a and b, separated by a space, one pair of integers per line.
输入将由一系列整数对a和b组成,用空格隔开,每行一对整数。
For each pair of input integers a and b you should output the sum of a and b, and followed by a blank line.
对于每一对输入整数a和b,您应该输出a和b的和,后面跟着一个空行。
#include<iostream>
using namespace std;
int main()
{
int a,b;
while(cin>>a>>b)
{
cout<<a+b<<endl<<endl;
}
return 0;
}