Cod sursa(job #645492)
Utilizator | Data | 9 decembrie 2011 20:14:30 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream>
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
int main()
{long a,b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}