Cod sursa(job #278828)
Utilizator | Data | 12 martie 2009 15:42:15 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.14 kb |
#include<fstream.h>
void main()
{long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;f>>b;
g<<a+b;
f.close();
g.close();}