Cod sursa(job #245550)
Utilizator | Data | 18 ianuarie 2009 12:02:24 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 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;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}