Problem kangaroohunt
User YH
Submission Time 2025-12-29 12:36:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

kangaroohunt.cpp: In function ‘void kangaroo(int, int)’:
kangaroohunt.cpp:6:2: error: ‘ll’ was not declared in this scope
6 | ll res;
| ^~
kangaroohunt.cpp:8:2: error: ‘res’ was not declared in this scope
8 | res = confuse(1, 1);
| ^~~
kangaroohunt.cpp:10:9: error: expected ‘;’ before ‘i’
10 | for (ll i = 2; i <= n; i++) {
| ^~
| ;
kangaroohunt.cpp:10:17: error: ‘i’ was not declared in this scope
10 | for (ll i = 2; i <= n; i++) {
| ^
kangaroohunt.cpp:10:22: error: ‘n’ was not declared in this scope
10 | for (ll i = 2; i <= n; i++) {
| ^
kangaroohunt.cpp:15:24: error: ‘n’ was not declared in this scope
15 | if (res == 1) confuse(n, n);
| ^