Cod sursa(job #217150)
Utilizator | Data | 27 octombrie 2008 11:22:29 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long x,y,s;
int main()
{f>>x>>y;
s=x+y;
g<<s<<'\n';
g.close();
return 0;
}