Problem squarerect
User pIaceholder
Submission Time 2023-12-28 18:24:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:2:9: error: ‘X2’ was not declared in this scope
2 | return X2 - X1 == Y2 - Y1;
| ^~
squarerect.cpp:2:14: error: ‘X1’ was not declared in this scope
2 | return X2 - X1 == Y2 - Y1;
| ^~
squarerect.cpp:2:20: error: ‘Y2’ was not declared in this scope
2 | return X2 - X1 == Y2 - Y1;
| ^~
squarerect.cpp:2:25: error: ‘Y1’ was not declared in this scope
2 | return X2 - X1 == Y2 - Y1;
| ^~