| Problem | squarerect |
|---|---|
| User | bribritt |
| Submission Time | 2023-01-20 21:33:21 |
| 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:3:62: error: ‘inside_shape’ was not declared in this scope
3 | for(int i = 0; i < 5; i++) for(int j = 0; j < 5; j++) if(inside_shape(20 * i + 1, 20 * j + 1)) {
| ^~~~~~~~~~~~
squarerect.cpp:4:16: error: ‘min’ was not declared in this scope; did you mean ‘minY’?
4 | minX = min(minX, 20 * i + 1); maxX = max(maxX, 20 * i + 1);
| ^~~
| minY
squarerect.cpp:4:46: error: ‘max’ was not declared in this scope; did you mean ‘maxY’?
4 | minX = min(minX, 20 * i + 1); maxX = max(maxX, 20 * i + 1);
| ^~~
| maxY
squarerect.cpp:12:16: error: ‘inside_shape’ was not declared in this scope
12 | if(inside_shape(mid, minY)) r = mid;