Problem kangaroohunt
User JJJwong
Submission Time 2026-01-01 12:52:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

kangaroohunt.cpp: In function ‘int confuse(int, int)’:
kangaroohunt.cpp:33:17: error: ‘resp’ was not declared in this scope; did you mean ‘rep’?
33 | if (l > r) {resp = "L > R"; wa();}
| ^~~~
| rep
kangaroohunt.cpp:33:33: error: ‘wa’ was not declared in this scope
33 | if (l > r) {resp = "L > R"; wa();}
| ^~
kangaroohunt.cpp:34:22: error: ‘N’ was not declared in this scope
34 | if (l < 1 || r > N) {resp = "Query out of range"; wa();}
| ^
kangaroohunt.cpp:34:26: error: ‘resp’ was not declared in this scope; did you mean ‘rep’?
34 | if (l < 1 || r > N) {resp = "Query out of range"; wa();}
| ^~~~
| rep
kangaroohunt.cpp:34:55: error: ‘wa’ was not declared in this scope
34 | if (l < 1 || r > N) {resp = "Query ou