HDU1000

来源:互联网 发布:做美工ps的电脑 编辑:程序博客网 时间:2024/05/18 00:30
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 1 Sample Output2
<pre name="code" class="cpp">#include<iostream>using namespace std;int main(){int a, b;while (cin >> a >> b){cout << a + b << endl;}return 0;}


                                             
0 0