**
HDU - 1000 A + B Problem 【水题】
**
A + B Problem
Problem Description
Calculate A + B.
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
问题链接:https://vjudge.net/problem/HDU-1000
问题描述:
计算A+B
输入
每行包括A和B两个整数。
输出
每行输出一个结果。
AC通过的c++程序如下:
#include<iostream>
using namespace std;
int main()
{
int a;
int b;
while(cin >> a >> b)
cout << a + b<<endl;
}