Problem squarerect
User gvancak
Submission Time 2025-06-11 21:32:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:27:6: error: ‘inside_shape’ was not declared in this scope
27 | y=inside_shape(i,j);
| ^~~~~~~~~~~~
squarerect.cpp:45:6: error: ‘inside_shape’ was not declared in this scope
45 | z=inside_shape(ind1,mid);
| ^~~~~~~~~~~~
squarerect.cpp:64:6: error: ‘inside_shape’ was not declared in this scope
64 | z=inside_shape(ind1,mid);
| ^~~~~~~~~~~~
squarerect.cpp:83:6: error: ‘inside_shape’ was not declared in this scope
83 | z=inside_shape(mid,ind2);
| ^~~~~~~~~~~~
squarerect.cpp:93:5: error: ‘inside_shape’ was not declared in this scope
93 | y=inside_shape(ans3+x-1,ind2);
| ^~~~~~~~~~~~
squarerect.cpp:107:6: error: ‘inside_shape’ was not declared in this scope
107 | z=inside_shape(i,j);
| ^~~~~~~~~~~~
squarerect.cpp:129:6: error: ‘inside_shape’ was not declared in this