Cod sursa(job #6709)
Utilizator | Data | 20 ianuarie 2007 17:05:18 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
long a, b;
int main()
{ ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
ofstream g("adunare.out");
g<<a+b<<'\n';
g.close();
return 0;
}