Cod sursa(job #298610)

Utilizator stefan.horiaBarbuta Stefan - Horia stefan.horia Data 6 aprilie 2009 11:33:32
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.15 kb
#include<fstream.h>
long a,b,s;
int main ()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s;
f.close ();
g.close ();
}