Problem | trivialmaths |
---|---|
User | Usu |
Submission Time | 2025-08-09 18:45:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
trivialmaths.cpp: In function ‘void initLogTable()’:
trivialmaths.cpp:9:41: error: ‘TABLE_SIZE’ was not declared in this scope
9 | float x = 1.0f + (i * (100.0f / TABLE_SIZE));
| ^~~~~~~~~~
trivialmaths.cpp: In function ‘float log_e(float)’:
trivialmaths.cpp:20:33: error: ‘TABLE_SIZE’ was not declared in this scope
20 | float index = (X - 1.0f) * (TABLE_SIZE / 100.0f);
| ^~~~~~~~~~