Cod sursa(job #33151)
Utilizator | Data | 18 martie 2007 22:49:01 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream.h>
long a,b;
int main()
{
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a;
f>>b;
g<<(a+b);
f.close();
g.close();
return 0;
}