Cod sursa(job #21098)
Utilizator | Data | 22 februarie 2007 21:42:59 | |
---|---|---|---|
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),g("adunare.out",ios::out);
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}