Cod sursa(job #161473)
| Utilizator | Data | 18 martie 2008 11:25:35 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream>
using namespace std ;
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;
}
