Cod sursa(job #2390193)

Utilizator nullptrStefan Serea nullptr Data 27 martie 2019 20:32:08
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.26 kb
#include <iostream>
#include <fstream>

using namespace std;

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