Mai intai trebuie sa te autentifici.
Cod sursa(job #248904)
| Utilizator | Data | 27 ianuarie 2009 01:19:01 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream>
using namespace std;
int main()
{int a,b,s;
fstream f("adunare.in",ios::in);
f>>a>>b;
s=a+b;
fstream g("adunare.out",ios::out);
g<<s;
f.close();g.close();
return 0;
}
