| Problem | trivialmaths |
|---|---|
| User | wongethan8192 |
| Submission Time | 2026-07-03 14:00:40 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
trivialmaths.cpp: In function ‘float log_e(float)’:
trivialmaths.cpp:7:21: error: ‘x’ was not declared in this scope
7 | std::memcpy(&i,&x,sizeof(x));
| ^
trivialmaths.cpp:11:32: error: invalid static_cast from type ‘<unresolved overloaded function type>’ to type ‘float’
11 | return (static_cast<float>(exp)+log2_m)*0.69314718f;
| ^