Cod sursa(job #266608)
| Utilizator | Data | 25 februarie 2009 21:15:33 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
main()
{
int a,b,c;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a>>b;
c=a+b;
g<<c;
f.close();
g.close();
}