Main.cc: In function 'int main()':
Main.cc:7:5: error: 'cin' was not declared in this scope
     cin >> x >> a >> b >> c >> d;
     ^
Main.cc:13:5: error: 'cout' was not declared in this scope
     cout << fixed << setprecision(5) << result << endl;
     ^
Main.cc:13:51: error: 'endl' was not declared in this scope
     cout << fixed << setprecision(5) << result << endl;
                                                   ^