Cod sursa(job #235253)
Utilizator | Data | 23 decembrie 2008 10:54:06 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
# include <iostream.h>
# include <fstream.h>
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
int main ()
{
long a,b,s;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}