Input
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组,用一个空格隔开,每行一个整数对。
Output
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;
}