Cod sursa(job #935344)

Utilizator IvanoiuStefanIvanoiu George Stefan IvanoiuStefan Data 3 aprilie 2013 01:06:02
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
int main ()
{
    f>>a>>b;
    g<<a+b;
    f.close ();
    g.close ();
    return 0;
}