Cod sursa(job #368999)
Utilizator | Data | 26 noiembrie 2009 20:36:14 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream.h>
int main()
{
ifstream f; ofstream g;
f.open("in.in"); g.open("out.out");
long a,b,c;
f>>a;
f>>b;
c=a+b;
g<<c<<endl;
g.close();
return 0;
}