Cod sursa(job #281591)
| Utilizator | Data | 15 martie 2009 14:14:57 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include <fstream.h>
long a,b;
int main()
{ifstream f("adunare.in"); f>>a>>b; f.close();
ofstream g("adunare.out"); g<<a+b<<'\n'; g.close(); return 0;
}
