Cod sursa(job #113076)
Utilizator | Data | 8 decembrie 2007 18:10:18 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c | 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();
}