Cod sursa(job #258061)

Utilizator chiombeaAndrei Vendrami chiombea Data 14 februarie 2009 16:32:58
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.19 kb
#include<iostream.h>
#include<fstream.h>
main()
{
int a,b,S=0;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a;
f>>b;
S=a+b;
g<<S;
f.close();
g.close();


}