Cod sursa(job #285824)
| Utilizator | Data | 22 martie 2009 23:30:28 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main()
{
fstream f,g;
f.open("adunare.in",ios::in);
g.open("adunare.out",ios::out);
long x,y;
f>>x>>y;
g<<x+y;
f.close();
g.close();
return 0;
}
