Mai intai trebuie sa te autentifici.
Cod sursa(job #148637)
| Utilizator | Data | 4 martie 2008 17:13:41 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main()
{ int a,b,s=0;
ifstream in("adunare.in");
in>>a>>b;
in.close();
s=a+b;
ofstream out("adunare.out");
out<<s;
out.close();
return 0;
}