Problem trivialmaths
User YSH2020
Submission Time 2023-08-18 13:09:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trivialmaths.cpp: In function ‘float log_e(float)’:
trivialmaths.cpp:2:2: error: ‘cout’ was not declared in this scope
2 | cout << setprecision(100); return log(X);
| ^~~~
trivialmaths.cpp:2:10: error: ‘setprecision’ was not declared in this scope
2 | cout << setprecision(100); return log(X);
| ^~~~~~~~~~~~
trivialmaths.cpp:2:36: error: ‘log’ was not declared in this scope; did you mean ‘long’?
2 | cout << setprecision(100); return log(X);
| ^~~
| long