运行 ID: 71064

Main.cc: In function ‘int main()’:
Main.cc:10:29: error: ‘pow’ was not declared in this scope
     double population = x * pow(1 + 0.001, n);
                             ^~~
Main.cc:10:29: note: suggested alternative: ‘putw’
     double population = x * pow(1 + 0.001, n);
                             ^~~
                             putw
Main.cc:13:22: error: ‘setprecision’ was not declared in this scope
     cout << fixed << setprecision(4) << population << endl;
                      ^~~~~~~~~~~~
Main.cc:13:59: error: expected ‘}’ at end of input
     cout << fixed << setprecision(4) << population << endl;
                                                           ^