Problem duckhunt29
User PlayVoltz
Submission Time 2025-12-11 16:50:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt29.cpp: In function ‘void finddist(int, int)’:
duckhunt29.cpp:11:27: error: ‘i’ was not declared in this scope
11 | if (query(mid)==1&&vect[i]==-1)low=mid;
| ^