Problem duckhunt5
User Pranav
Submission Time 2024-12-21 09:21:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt5.cpp:25:16: error: stray ‘\’ in program
25 | cout<<v[i]\n;
| ^
duckhunt5.cpp:29:14: error: stray ‘\’ in program
29 | cout<<-1\n;
| ^
duckhunt5.cpp: In function ‘int main()’:
duckhunt5.cpp:25:16: error: expected ‘;’ before ‘n’
25 | cout<<v[i]\n;
| ^~
| ;
duckhunt5.cpp:29:14: error: expected ‘;’ before ‘n’
29 | cout<<-1\n;
| ^~
| ;