| Problem | lunchbox |
|---|---|
| User | Random52 |
| Submission Time | 2025-01-26 21:02:58 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:25:25: error: invalid conversion from ‘void*’ to ‘uint16_t*’ {aka ‘short unsigned int*’} [-fpermissive]
25 | uint16_t* a = malloc(m * sizeof(uint16_t));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
| |
| void*