Cod sursa(job #168228)
Utilizator | Data | 30 martie 2008 21:41:43 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
int main()
{
long int a, b;
fstream f("adunare.in", ios::in), g("adunare.out", ios::out);
f>>a>>b;
g<<a+b;
f.close();g.close();
return 0;
}