Cod sursa(job #351091)
| Utilizator | Data | 26 septembrie 2009 19:44:01 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | info.conc.sept.2 | Marime | 0.18 kb |
#include<fstream.h>
int main()
{int a,b,s=0;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}