Cod sursa(job #179047)

Utilizator ok_yvyivanescu ciprian ok_yvy Data 15 aprilie 2008 15:40:49
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.18 kb
#include <fstream.h>
long a,c,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
 f>>a>>b;
 c=a+b;
 g<<c<<'\n';
f.close();
g.close();
return 0;
}