Cod sursa(job #1439)
Utilizator | Data | 13 decembrie 2006 17:54:19 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
#include<iostream.h>
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
long a,b;
int main()
{ f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}