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