Problem kangaroohunt
User Dolphy
Submission Time 2025-12-28 23:19:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

kangaroohunt.cpp: In function ‘void kangaroo(int, int)’:
kangaroohunt.cpp:10:17: error: ‘confuse’ was not declared in this scope
10 | if (confuse(i-1, i)==2) l=0;
| ^~~~~~~
kangaroohunt.cpp:12:19: error: ‘confuse’ was not declared in this scope
12 | else if (!confuse(i, i)) l=1;
| ^~~~~~~
kangaroohunt.cpp:14:12: error: ‘confuse’ was not declared in this scope
14 | if (l) confuse(N, N);
| ^~~~~~~