Cod sursa(job #85209)
Utilizator | Data | 20 septembrie 2007 17:05:36 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main()
{unsigned long a,b;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a;f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}