Cod sursa(job #625370)
Utilizator | Data | 24 octombrie 2011 14:35:50 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream>
using namespace std;
int main()
{
long a,b;
fstream f("adunare.in",ios::in),g("adunare.out",ios::out);
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}