Cod sursa(job #183980)
Utilizator | Data | 22 aprilie 2008 20:44:18 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
int main()
{f>>a;
f>>b;
s=a+b;
g<<s<<endl;
f.close();
g.close();
return 0;}