Problem duckhunt29
User bachnguyen123
Submission Time 2025-12-28 10:50:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt29.cpp: In function ‘void finddist(int, int)’:
duckhunt29.cpp:16:28: error: ‘mi’ was not declared in this scope; did you mean ‘i’?
16 | if(query(x) * p[i] == 1) mi = x+1;
| ^~
| i
duckhunt29.cpp:17:8: error: ‘ma’ was not declared in this scope; did you mean ‘fma’?
17 | else ma = x-1;
| ^~
| fma