Problem kangaroohunt
User sporknives
Submission Time 2025-12-29 12:28:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

kangaroohunt.cpp: In function ‘void kangaroo(int, int)’:
kangaroohunt.cpp:6:10: error: ‘confuse’ was not declared in this scope
6 | res = confuse(i, i+1);
| ^~~~~~~
kangaroohunt.cpp:9:10: error: ‘confuse’ was not declared in this scope
9 | res = confuse(i-2, i+1);
| ^~~~~~~
kangaroohunt.cpp:14:18: error: ‘confuse’ was not declared in this scope
14 | else if(res==0)confuse(i, i+1);
| ^~~~~~~
kangaroohunt.cpp:16:10: error: ‘confuse’ was not declared in this scope
16 | res = confuse(i+1, i+1);
| ^~~~~~~
kangaroohunt.cpp:24:12: error: ‘confuse’ was not declared in this scope
24 | if(prev) confuse(N,N);
| ^~~~~~~
kangaroohunt.cpp:28:14: error: ‘confuse’ was not declared in this scope
28 | int res = confuse(N-2,N)-2;
| ^~~~~~~
kangaroohunt.cpp:32:14: error: ‘confuse’ was not declared in this scope<