Cod sursa(job #7377)
| Utilizator | Data | 21 ianuarie 2007 13:49:45 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
int main()
{ifstream f("adunare.in");
ofstream g("adunare.out");
unsigned long a,b;
f>>a>>b;
f.close();
g<<a+b<<'\n';
g.close();
return 0;
}