Problem squarerect
User StewartStudios
Submission Time 2026-02-03 21:17:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:8:8: error: ‘inside_shape’ was not declared in this scope
8 | if (inside_shape(i * 20, j * 20)){
| ^~~~~~~~~~~~
squarerect.cpp:34:8: error: ‘inside_shape’ was not declared in this scope
34 | if (inside_shape(mid, pivot_y)){
| ^~~~~~~~~~~~
squarerect.cpp:46:8: error: ‘inside_shape’ was not declared in this scope
46 | if (inside_shape(pivot_x, mid)){
| ^~~~~~~~~~~~
squarerect.cpp:59:8: error: ‘inside_shape’ was not declared in this scope
59 | if (inside_shape(mid, pivot_y)){
| ^~~~~~~~~~~~
squarerect.cpp:71:8: error: ‘inside_shape’ was not declared in this scope
71 | if (!inside_shape(pivot_x, u_bound_y)) return false;
| ^~~~~~~~~~~~
squarerect.cpp:72:30: error: ‘inside_shape’ was not declared in this scope
72 | if (u_bound_y < N && inside_shape(pivot_x, u_bo