Problem trivialmaths
User PlayVoltz
Submission Time 2023-10-12 19:56:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trivialmaths.cpp: In function ‘float log_e(float)’:
trivialmaths.cpp:6:16: error: ‘log’ was not declared in this scope; did you mean ‘long’?
6 | return (float)log(i)/log(exp(1));
| ^~~
| long
trivialmaths.cpp:6:27: error: ‘exp’ was not declared in this scope
6 | return (float)log(i)/log(exp(1));
| ^~~