Cod sursa(job #574286)
| Utilizator | Data | 6 aprilie 2011 23:59:31 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream.h>
#include<fstream.h>
main()
{
fstream f, g;
f.open("adunare.in", ios::in);
g.open("adunare.out", ios::out);
long a, b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
}
