Topic link

  • A+B

Answer key

  • This problem is mainly used to familiarize with the input and output of OJ
  • Both input integers are in the rangeint32Range, but not necessarily add up :), pay attention to overflow issues
#include <iostream>
using namespace std;

int main() {
    int a, b;
    while (cin >> a >> b) {
        cout << 0LL + a + b << endl;
    }
    return 0;
}