ACdream 1000 A + B Problem

来源:互联网 发布:网店源码 编辑:程序博客网 时间:2024/06/05 17:18

Problem Description

Calculate a + b.

Input

There are multiple cases.
Ease case contains two integers a, b (1 ≤ a, b ≤ 1000).

Output

Output the result of a + b in a single line.

Sample Input

1 1
9 1

Sample Output

2
10

code

/** this code is made by linglian* Problem: 1000* Verdict: Accepted* Submission Date: 2017-05-05 20:20:22* Time: 0MS* Memory: 1664KB*/#include <iostream>using namespace std;int main() {    int a, b;    while (cin >> a >> b) {        cout << ( a + b ) << endl;    }    return 0;}
0 0