Problem duckhunt27
User DuckyKayden
Submission Time 2025-12-10 11:07:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt27.cpp: In function ‘int32_t main()’:
duckhunt27.cpp:13:14: error: expected ‘;’ before ‘-’ token
13 | for(int i - 1; i < m; i++) {
| ^~
| ;
duckhunt27.cpp:13:25: error: expected ‘)’ before ‘;’ token
13 | for(int i - 1; i < m; i++) {
| ~ ^
| )
duckhunt27.cpp:13:30: error: expected ‘;’ before ‘)’ token
13 | for(int i - 1; i < m; i++) {
| ^
| ;
duckhunt27.cpp:22:29: error: expected ‘;’ before ‘}’ token
22 | ans = min(ans, d[i])
| ^
| ;
23 | }
| ~