Cod sursa(job #28920)
| Utilizator | Data | 8 martie 2007 14:21:57 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include"fstream.h"
main()
{
ifstream f("adunare.in");
ofstream o("adunare.out");
int a, b;
f>>a; f>>b;
o<<a+b;
f.close();
o.close();
}