Cod sursa(job #137725)

Utilizator Berry_is_coolDiac Bernard Berry_is_cool Data 17 februarie 2008 13:32:14
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.17 kb
#include <fstream.h>
int main ()
{
int a,b;
long s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}