Problem squarerect
User penguin133
Submission Time 2024-01-26 22:59:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:49:2: error: ‘lo’ was not declared in this scope; did you mean ‘log’?
49 | lo = max(ok.fi + 1, st + 18), hi = min(N, st + N - (ok.se - x + 1)), ans = ok.fi;
| ^~
| log
squarerect.cpp:49:32: error: ‘hi’ was not declared in this scope; did you mean ‘fi’?
49 | lo = max(ok.fi + 1, st + 18), hi = min(N, st + N - (ok.se - x + 1)), ans = ok.fi;
| ^~
| fi
squarerect.cpp:49:71: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
49 | lo = max(ok.fi + 1, st + 18), hi = min(N, st + N - (ok.se - x + 1)), ans = ok.fi;
| ^~~
| abs