Cod sursa(job #1772869)

Utilizator alexkolumeRadulescu Ioan-Alexandru alexkolume Data 7 octombrie 2016 09:25:31
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>
using namespace std;

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