Cod sursa(job #1058)
Utilizator | Data | 12 decembrie 2006 15:33:44 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
void main()
{long a,b,s=0;
ifstream f("adunare.in");
f>>a;
f>>b;
s=a+b;
ofstream g("adunare.out");
g<<s;
f.close();
g.close();
}