Cod sursa(job #18006)
Utilizator | Data | 17 februarie 2007 21:30:01 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
void main()
{
f>>a>>b;
g<<a+b<<'\n';
f.close();
g.close();
}