Cod sursa(job #1454286)

Utilizator razweiAdrian Radoi razwei Data 25 iunie 2015 23:56:02
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <iostream>
#include <fstream>

using namespace std;

int main()
{
    int a,b;
    fstream f("adunare.in", ios::in);
    f >> a >> b;
    f.close();

    fstream g("adunare.out", ios::out);
    g << a+b;
    g.close();
}