Cod sursa(job #404137)
Utilizator | Data | 25 februarie 2010 20:35:08 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
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>>b;
s=a+b;
g<<s<<'\n';
f.close();
g.close();
return 0;
}