Problem duckhunt29
User ForgottenDragon
Submission Time 2025-12-12 10:48:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt29.cpp: In function ‘void finddist(int, int)’:
duckhunt29.cpp:8:9: error: ‘n’ was not declared in this scope
8 | if (m%n != 0) int x = query(m%N);
| ^
duckhunt29.cpp:10:13: error: ‘x’ was not declared in this scope
10 | if (x == 1) {
| ^