Problem whackamole
User ShShSh
Submission Time 2023-12-06 11:39:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

whackamole.cpp: In function ‘int main()’:
whackamole.cpp:10:24: error: invalid conversion from ‘void*’ to ‘bool*’ [-fpermissive]
10 | bool *whacked = calloc(0-1, sizeof(*notwhacked));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*