Cod sursa(job #486651)
Utilizator | Data | 22 septembrie 2010 12:08:18 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream.h>;
#include <fstream.h>;
int main()
{int a,b;
fstream f("adunare.in",ios::in);
fstream g("adunare.out", ios::out);
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}