Mai intai trebuie sa te autentifici.
Cod sursa(job #284441)
| Utilizator | Data | 21 martie 2009 18:26:10 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
int main()
{unsigned long a,b,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}
