Cod sursa(job #113073)
| Utilizator | Data | 8 decembrie 2007 18:08:55 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
//adunare
#include<iostream.h>
#include<fstream.h>
long a,b;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
void main()
{f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
}
