Problem askonegetonefree
User otarius
Submission Time 2024-08-01 03:07:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

askonegetonefree.cpp: In function ‘Answer guess(int)’:
askonegetonefree.cpp:27:22: error: ‘n’ was not declared in this scope
27 | int lx = 0, rx = n - 1, ly = 0, ry = n - 1, x, y;
| ^
askonegetonefree.cpp:28:24: error: ‘ly’ was not declared in this scope; did you mean ‘lx’?
28 | while (lx <= rx || ly <= ry) {
| ^~
| lx
askonegetonefree.cpp:28:30: error: ‘ry’ was not declared in this scope; did you mean ‘rx’?
28 | while (lx <= rx || ly <= ry) {
| ^~
| rx
askonegetonefree.cpp:37:25: error: ‘x’ was not declared in this scope
37 | lx = m + 1; x = m;
| ^
askonegetonefree.cpp:41:25: error: ‘y’ was not declared in this scope
41 | ly = m + 1; y = m;
| ^
askonegetonefr