Problem duckhunt29
User aiden
Submission Time 2026-03-08 12:10:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt29.cpp: In function ‘void finddist(int, int)’:
duckhunt29.cpp:18:9: error: ‘i’ was not declared in this scope
18 | if(p[i] == 1){
| ^
duckhunt29.cpp:26:9: error: ‘i’ was not declared in this scope
26 | if(p[i] == 0){
| ^