Cod sursa(job #88899)
Utilizator | Data | 4 octombrie 2007 19:07:41 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 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;
f.close();
g.close();
return 0;
}