Cod sursa(job #308270)
Utilizator | Data | 26 aprilie 2009 17:22:44 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.14 kb |
#include<fstream.h>
void main()
{int a,b;
ifstream f("adunare.in") ;
ofstream g("adunare.out");
f>>a;f>>b;
f.close();
g<<a+b;
g.close();
}