Problem kangaroohunt
User YSH2020
Submission Time 2026-01-03 16:30:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

kangaroohunt.cpp: In function ‘void kangaroo(int, int)’:
kangaroohunt.cpp:4:21: error: ‘confuse’ was not declared in this scope
4 | if (prev==1) prev=confuse(i,i+1);
| ^~~~~~~
kangaroohunt.cpp:5:13: error: ‘confuse’ was not declared in this scope
5 | else prev=confuse(i+1,i+1);
| ^~~~~~~
kangaroohunt.cpp:7:12: error: ‘confuse’ was not declared in this scope
7 | if (prev) confuse(n,n);
| ^~~~~~~