Cod sursa(job #1439787)

Utilizator beer_teamUBB - Cociorva - Popoveniuc beer_team Data 23 mai 2015 09:57:59
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.54 kb
#include <bits/stdc++.h>

using namespace std;

unordered_map<int, int> M;

const string problemName = "adunare";
#ifndef HOME
const string inputFileName = problemName + ".in";
const string outputFileName = problemName + ".out";
#else
const string inputFileName = "input.txt";
const string outputFileName = "output.txt";
#endif

int main()
{
    freopen(inputFileName.c_str(), "r", stdin);
    freopen(outputFileName.c_str(), "w", stdout);

    int a, b;

    scanf("%d%d", &a, &b);
    printf("%d\n", a + b);

    return 0;
}