Problem kangaroohunt
User Biologyhater123
Submission Time 2025-12-29 12:30:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

kangaroohunt.cpp: In function ‘void kangaroo(int, int)’:
kangaroohunt.cpp:11:22: error: ‘n’ was not declared in this scope
11 | for (int i = 0; i < n; i++){
| ^
kangaroohunt.cpp:14:78: error: expected ‘;’ before ‘}’ token
14 | else if (v[i] == 1 and !st.empty()) confuse (*st.begin() , *prev(st.end()))
| ^
| ;
15 | }
| ~