Cod sursa(job #11960)
| Utilizator | Data | 2 februarie 2007 14:49:25 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
ifstream f("adunari.in");
ofstream g("adunari.out");
void main()
{unsigned long a,b,x;
f>>x;a=x;
f>>x;b=x;
f.close();
x=a+b;
g<<x;
g.close();
}