Problem duckhunt5
User noel
Submission Time 2025-10-20 21:06:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt5.cpp:17:19: error: missing terminating ' character
17 | cout << -1 << '\n’;
| ^~~~~~~
duckhunt5.cpp:19:20: error: missing terminating ' character
19 | cout << *it << '\n’;
| ^~~~~~~
duckhunt5.cpp: In function ‘int main()’:
duckhunt5.cpp:18:4: error: expected primary-expression before ‘}’ token
18 | }else {
| ^
duckhunt5.cpp:20:4: error: expected primary-expression before ‘}’ token
20 | }
| ^