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