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