Cod sursa(job #16940)

Utilizator gabyboss29Gabi Munteanu gabyboss29 Data 14 februarie 2007 15:35:57
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.2 kb
#include <iostream.h>
#include <fstream.h>
long a, b, s;
int main()
{
ifstream f("adunare.in");
f>>a;
f>>b;
s=a+b;
ofstream g("adunare.out");
g<<s<<endl;
f.close();
g.close();
return 0;
}