Problem duckhunt42
User DaPeter
Submission Time 2025-12-26 09:19:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt42.cpp: In function ‘int main()’:
duckhunt42.cpp:23:19: error: ‘MAX’ was not declared in this scope; did you mean ‘MAXN’?
23 | for(int i = 0;i<=MAX-1;i++) visited[i] = false;
| ^~~
| MAXN