Cod sursa(job #2474092)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 14 octombrie 2019 18:35:23
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.5 kb
#include <iostream>
#include <cstdio>
#include <string>

using namespace std;

const string FILENAME = "adunare";
#define files(FILENAME) read(FILENAME); write(FILENAME)
#define read(FILENAME) freopen((FILENAME + ".in").c_str(), "r", stdin)
#define write(FILENAME) freopen((FILENAME + ".out").c_str(), "w", stdout)

int main()
{
#ifdef INFOARENA
        files(FILENAME);
#endif // INFOARENA

        int a, b;
        cin >> a >> b;
        cout << a + b << "\n";

        return 0;
}