Problem kangaroohunt
User JohnC
Submission Time 2025-12-29 15:47:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

kangaroohunt.cpp: In function ‘void kangaroo(int, int)’:
kangaroohunt.cpp:9:39: error: ‘X’ was not declared in this scope
9 | int curr = confuse(i, i);Accepted: [X] attempts
| ^
kangaroohunt.cpp: In lambda function:
kangaroohunt.cpp:9:42: error: expected ‘{’ before ‘attempts’
9 | int curr = confuse(i, i);Accepted: [X] attempts
| ^~~~~~~~
kangaroohunt.cpp: In function ‘void kangaroo(int, int)’:
kangaroohunt.cpp:9:41: error: expected ‘;’ before ‘attempts’
9 | int curr = confuse(i, i);Accepted: [X] attempts
| ^~~~~~~~~
| ;