Cod sursa(job #166979)
Utilizator | Data | 28 martie 2008 19:44:41 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
void main()
{
long int a, b, s;
fstream f("adunare.in", ios::in), g("adunare.out", ios::out);
f>>a>>b;
g<<a+b;
f.close();g.close();
}