Problem | trivialmaths |
---|---|
User | PlayVoltz |
Submission Time | 2023-10-12 20:04:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
trivialmaths.cpp:6:1: error: ‘map’ does not name a type
6 | map<float, float> m;
| ^~~
trivialmaths.cpp: In function ‘float log_e(float)’:
trivialmaths.cpp:9:6: error: ‘m’ was not declared in this scope
9 | if (m[i]==0)m[i] = log(i);
| ^
trivialmaths.cpp:10:16: error: ‘m’ was not declared in this scope
10 | return (float)m[i];
| ^