Cod sursa(job #380875)
Utilizator | Data | 7 ianuarie 2010 23:32:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 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;
}