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