A+B Problem
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.
问题连接:https://vjudge.net/problem/hdu-1000?tdsourcetag=s_pctim_aiomsg
AC代码如下:
#include <iostream>
using namespace std;
int main()
{int a = 0, b = 0;while(cin >> a >> b)cout << a + b << endl;}