Problem duckhunt29
User kenkunkin
Submission Time 2025-12-12 10:16:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt29.cpp: In function ‘void finddist(int, int)’:
duckhunt29.cpp:20:15: error: ‘M’ was not declared in this scope
20 | int L=1,R=M;
| ^
duckhunt29.cpp:25:21: error: ‘N’ was not declared in this scope
25 | int pos=ptr%N;
| ^