Problem squarerect
User lmqzzz
Submission Time 2025-04-02 14:40:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool check_sq(int, int)’:
squarerect.cpp:27:17: error: ‘inside_shape’ was not declared in this scope
27 | if (inside_shape (mid, y)) {
| ^~~~~~~~~~~~
squarerect.cpp:38:17: error: ‘inside_shape’ was not declared in this scope
38 | if (inside_shape (mid, y)) {
| ^~~~~~~~~~~~
squarerect.cpp:49:17: error: ‘inside_shape’ was not declared in this scope
49 | if (inside_shape (x, mid)) {
| ^~~~~~~~~~~~
squarerect.cpp:60:17: error: ‘inside_shape’ was not declared in this scope
60 | if (inside_shape (x, mid)) {
| ^~~~~~~~~~~~
squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:78:17: error: ‘inside_shape’ was not declared in this scope
78 | if (inside_shape (i, j)) {
| ^~~~~~~~~~~~