Cod sursa(job #24671)
Utilizator | Data | 3 martie 2007 12:19:07 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include <fstream.h>
void 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();
}