Cod sursa(job #60266)
Utilizator | Data | 13 mai 2007 13:22:34 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
int 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;
}