Cod sursa(job #88898)
Utilizator | Data | 4 octombrie 2007 19:04:41 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
int main ()
{unsigned long a,b,c;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
c=a+b;
g<<c<<endl;
f.close();
g.close();
return 0;
}