ACdream 1000 A + B Problem

xiaoxiao2021-02-28  105

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; }
转载请注明原文地址: https://www.6miu.com/read-39834.html

最新回复(0)