Cod sursa(job #2511839)

Utilizator ionutREDRosu Ioan ionutRED Data 19 decembrie 2019 20:51:19
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <iostream>
#include <fstream>
using namespace std;

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