Cod sursa(job #266605)
| Utilizator | Data | 25 februarie 2009 21:10:39 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
void 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();
}