Cod sursa(job #2460374)

Utilizator MC_19Clipici MC_19 Data 23 septembrie 2019 16:20:18
Problema A+B Scor 0
Compilator cpp-32 Status done
Runda Arhiva de probleme Marime 0.27 kb

#include <iostream>
#include <fstream>

using namespace std;

int main()

{
    ifstream f;
    f.open("adunare.in");
    ofstream g;
    g.open("adunare.out");
    int a, b;
    f >> a >> b;
    g << a + b;
    f.close()
    g.close()
    return 0;
}