Cod sursa(job #240658)
Utilizator | Data | 8 ianuarie 2009 08:27:20 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
void main()
{long a,b;
f>>a>>b;
g<<a+b<<endl;
f.close(); g.close();
}