Cod sursa(job #135187)
| Utilizator | Data | 13 februarie 2008 11:54:46 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
void main();
{ int a,b; ifstream f1("adunare.in"); ofstream f2("adunare.out");
f1>>a;f1>>b;
f2<<a+b;
f1.close(); f2.close();}
