View Code of Problem 109

#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <stack>
#include <string>
#include <vector>
using namespace std;

int main(void)
{
    int n;
    cin >> n;
    long long a, b;
    while(n--){
        cin >> a >> b;
        cout << a + b << endl;
    }
}

Double click to view unformatted code.


Back to problem 109