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