Cod sursa(job #201669)
| Utilizator | Data | 2 august 2008 18:13:54 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
int main()
{
fstream f("adunare.in",ios::in);
long a,b;
f>>a>>b;
f.close();
f.open("adunare.out",ios::out);
f<<a+b;
f.close();
}
