Cod sursa(job #9034)
Utilizator | Data | 26 ianuarie 2007 14:19:34 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
long main()
{
long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
g<<a+b;
f.close();
g.close(); }