Problem duckhunt13
User Feiyang
Submission Time 2025-06-18 10:51:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt13.cpp: In function ‘int main()’:
duckhunt13.cpp:27:18: error: ‘target’ was not declared in this scope
27 | if (dq[i] == target)
| ^~~~~~
duckhunt13.cpp:28:19: error: ‘else’ without a previous ‘if’
28 | count++;} else{
| ^~~~