Cod sursa(job #535117)
Utilizator | Data | 16 februarie 2011 19:54:19 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
int a,b,S;
fstream f("C:\\adunare.in", ios::in);
fstream g("C:\\adunare.out", ios::out);
void main()
{f>>a>>b;
S=a+b;
g<<S;
g.close();
f.close();
}