Cod sursa(job #276913)
Utilizator | Data | 11 martie 2009 13:29:02 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
int main ()
{fstream f,g;
long a,b;
f.open("adunare.in",ios::in);
g.open("adunare.out",ios::out);
f>>a;
f>>b;
g<<a+b;
return 0;
}