Cod sursa(job #161465)
| Utilizator | Data | 18 martie 2008 11:07:55 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main ()
{
fstream f("adunare.in",ios::in),g("adunare.out",ios::out);
long int x,y;
f>>x;
f>>y;
g<<x+y<<"\n";
f.close();
g.close();
return 0;
}
