Cod sursa(job #30610)
Utilizator | Data | 14 martie 2007 18:52:56 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<fstream.h>
fstream f,g;
using namespace std;
int a,b;
int main()
{
f.open("adunare.in",ios::in);
g.open("adunare.out",ios::out);
f>>a>>b;
g<<a+b<<endl;
f.close();
g.close();
return 0;
}