Problem duckhunt24
User ilikeeggs
Submission Time 2026-01-20 09:44:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt24.cpp: In function ‘int32_t main()’:
duckhunt24.cpp:19:19: error: expected ‘;’ before ‘if’
19 | cin>>a[i]
| ^
| ;
20 | if(i == 0){
| ~~
duckhunt24.cpp:23:10: error: ‘else’ without a previous ‘if’
23 | else{
| ^~~~