Cod sursa(job #379571)
Utilizator | Data | 2 ianuarie 2010 16:00:28 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include "fstream.h"
ifstream f("adunare.in");
ofstream g("adunare.out");
long main()
{
long int a,b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 1;
}