Cod sursa(job #285833)
Utilizator | Data | 23 martie 2009 00:13:24 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<fstream.h>
#include<iostream.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;
}