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