Cod sursa(job #487044)
Utilizator | Data | 23 septembrie 2010 17:19:36 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | teme_upb | 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;
}