Cod sursa(job #244614)
Utilizator | Data | 15 ianuarie 2009 17:21:44 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include <fstream.h>
int main()
{ long x,y;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>x>>y;
g<<x+y;
f.close();
g.close();
return 0;
}