Cod sursa(job #1772877)

Utilizator alexkolumeRadulescu Ioan-Alexandru alexkolume Data 7 octombrie 2016 09:36:37
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>
using namespace std;
fstream f("adunare.in");
ofstream g("adunare.out");

int main()
{
    int a, b;
    long s;
    f >> a >> b;
    s = a + b;
    g << s;
    f.close();
    g.close();
    return 0;
}