PRoblem DescriptionCalculate A + B.InputEach line will contain two integers A and B. Process to end of file.OutputFor each case, output A + B in one line.Sample Input1 1Sample Output2
简单题
#include<iostream>using namespace std;int main(){ long long int a, b; while(cin >> a >> b) {a += b; cout << a << endl;}}