Problem candies
User shawn
Submission Time 2025-01-25 13:44:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candies.cpp: In function ‘void update(long long int, long long int)’:
candies.cpp:15:18: error: ‘MAX_CANDY’ was not declared in this scope; did you mean ‘MAX_CANON’?
15 | for (; index < MAX_CANDY; index += index & (-index)) {
| ^~~~~~~~~
| MAX_CANON