Input
Each line will contain two integers A and B. Process to end of file.
Output
For each case, output A + B in one line.
Sample Input
1 1
Sample Output
2
注意输入格式
My Answer:
#include <iostream>
#include <fstream>
using namespace std;
int main(){
int x,y;
while(cin >> x >> y){
cout << x + y << endl;
}
return 0;
}