Cod sursa(job #364760)
| Utilizator | Data | 16 noiembrie 2009 21:52:21 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream.h>
int a,b,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
f>>a;
f>>b;
s=0;
s=a+b;
g<<"s="<<s<<endl;
f.close();
g.close();
return 0;
}