Problem squarerect
User LimCheeHann
Submission Time 2025-07-29 15:08:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool inside_shape_ext(int, int)’:
squarerect.cpp:7:10: error: ‘inside_shape’ was not declared in this scope; did you mean ‘inside_shape_ext’?
7 | return inside_shape(X, Y);
| ^~~~~~~~~~~~
| inside_shape_ext
squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:19:8: error: ‘inside_shape’ was not declared in this scope; did you mean ‘inside_shape_ext’?
19 | if (inside_shape(20 * i, 20 * j)) {
| ^~~~~~~~~~~~
| inside_shape_ext
squarerect.cpp:29:8: error: ‘inside_shape’ was not declared in this scope; did you mean ‘inside_shape_ext’?
29 | if (inside_shape(100, 20 * i) == true) {
| ^~~~~~~~~~~~
| inside_shape_ext
squarerect.cpp:37:8: error: ‘inside_shape’ was not declared in this scope; did you mean ‘inside_shape_ext’?
37 | if (inside_shape(20 * i, 100) == true) {
| ^~~~~~~~~~~~