Problem | squarerect |
---|---|
User | LimCheeHann |
Submission Time | 2025-07-29 15:23:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:12:8: error: ‘inside_shape’ was not declared in this scope
12 | if (inside_shape(20 * i, 20 * j)) {
| ^~~~~~~~~~~~
squarerect.cpp:22:8: error: ‘inside_shape’ was not declared in this scope
22 | if (inside_shape(100, 20 * i) == true) {
| ^~~~~~~~~~~~
squarerect.cpp:30:8: error: ‘inside_shape’ was not declared in this scope
30 | if (inside_shape(20 * i, 100) == true) {
| ^~~~~~~~~~~~
squarerect.cpp:42:9: error: ‘inside_shape’ was not declared in this scope
42 | if (inside_shape(100,(shape_upper_edge + pow(2, i)))) {
| ^~~~~~~~~~~~
squarerect.cpp:46:8: error: ‘inside_shape’ was not declared in this scope
46 | if (inside_shape(100,(shape_upper_edge - 20)) == false && inside_shape(100,(shape_upper_edge - 19)) == true) {
| ^~~~~~~~~~~~
squarerect.cpp:54:9: error: ‘inside_shape’