Cod sursa(job #291804)
Utilizator | Data | 30 martie 2009 13:41:40 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | bac-calinush | Marime | 0.21 kb |
#include<fstream.h>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}