Cod sursa(job #314785)
Utilizator | Gherzan Theodor telphan | Data | 12 mai 2009 22:30:02 |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
int main()
{ int a,b,c;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a;
f>>b;
c=a+b;
g<<c;
f.close();
g.close();
return 0;
}