Problem | squarerect |
---|---|
User | kxd |
Submission Time | 2023-02-23 10:20:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
squarerect.cpp: In function ‘bool inside_shape(int, int)’:
squarerect.cpp:23:2: error: ‘q’ was not declared in this scope
23 | q++;
| ^
squarerect.cpp:24:10: error: ‘Q’ was not declared in this scope
24 | if (q > Q) {
| ^
squarerect.cpp:32:15: error: ‘X1’ was not declared in this scope; did you mean ‘X’?
32 | return (X >= X1 && X <= X2 && Y >= Y1 && Y <= Y2);
| ^~
| X
squarerect.cpp:32:26: error: ‘X2’ was not declared in this scope; did you mean ‘X’?
32 | return (X >= X1 && X <= X2 && Y >= Y1 && Y <= Y2);
| ^~
| X
squarerect.cpp:32:37: error: ‘Y1’ was not declared in this scope; did you mean ‘Y’?
32 | return (X >= X1 && X <= X2 && Y >= Y1 && Y <= Y2);
| ^~
| Y
squarer