Problem kangaroohunt
User kenkunkin
Submission Time 2025-12-29 13:48:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

kangaroohunt.cpp: In function ‘void kangaroo(int, int)’:
kangaroohunt.cpp:9:28: error: ‘confuse’ was not declared in this scope
9 | if (gt==-1) gt=confuse(n,n);
| ^~~~~~~
kangaroohunt.cpp:10:24: error: ‘confuse’ was not declared in this scope
10 | if (gt==0) confuse(n,n);
| ^~~~~~~
kangaroohunt.cpp:15:24: error: ‘confuse’ was not declared in this scope
15 | if (gt==-1) gt=confuse(i,i+1);
| ^~~~~~~
kangaroohunt.cpp:17:20: error: ‘confuse’ was not declared in this scope
17 | if (gt==0) confuse(i,i+1),gt=-1,i+=2;
| ^~~~~~~
kangaroohunt.cpp:21:16: error: ‘confuse’ was not declared in this scope
21 | gt=confuse(i,i);
| ^~~~~~~
kangaroohunt.cpp:25:30: error: ‘min’ was not declared in this scope
25 | gt=confuse(i,min(i+3,n