| Problem | kangaroohunt |
|---|---|
| User | JohnC |
| Submission Time | 2025-12-29 21:55:43 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
kangaroohunt.cpp: In function ‘void kangaroo(int, int)’:
kangaroohunt.cpp:10:4: error: expected primary-expression before ‘int’
10 | int curr = confuse(i, i);
| ^~~
kangaroohunt.cpp:10:4: error: expected ‘}’ before ‘int’
kangaroohunt.cpp:9:17: note: to match this ‘{’
9 | if (flip_next({
| ^
kangaroohunt.cpp:9:18: error: expected ‘)’ before ‘int’
9 | if (flip_next({
| ~ ^
| )
10 | int curr = confuse(i, i);
| ~~~
kangaroohunt.cpp:10:28: error: expected ‘)’ before ‘;’ token
10 | int curr = confuse(i, i);
| ^
| )
kangaroohunt.cpp:9:6: note: to match this ‘(’
9 | if (flip_next({
| ^
kangaroohunt.cpp:11:8: error: ‘curr’ was not declared in this scope
11 | if (curr == 0) flip_next = true;
| ^~~~
ka