Cod sursa(job #331625)
| Utilizator | Data | 14 iulie 2009 19:04:26 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
#include<math.h>
int main()
{long a,b;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a>>b;
g<<a+b; f.close(); g.close();
return 0;
}