Cod sursa(job #2308218)

Utilizator Teodor2305Teodor Chirosca Teodor2305 Data 26 decembrie 2018 17:27:39
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.27 kb
#include <iostream>
#include <fstream>

using namespace std;

int main()
{
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    int a, b, rez;

    f >> a >> b;

    rez = a + b;

    g << rez;

    f.close();
    g.close();
    return 0;
}