Problem monsters
User YEethui
Submission Time 2023-12-05 23:45:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monsters.cpp: In function ‘int main()’:
monsters.cpp:22:69: error: ‘compareMonster’ was not declared in this scope; did you mean ‘compareMonster2’?
22 | sort(monsters, monsters + sizeof(monsters)/sizeof(monsters[0]), compareMonster);
| ^~~~~~~~~~~~~~
| compareMonster2