Cod sursa(job #212406)
Utilizator | Data | 5 octombrie 2008 13:08:51 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
int main()
{
long int a,b;
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}