Problem squarerect
User zhangdi
Submission Time 2026-02-13 10:11:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool insiders_square(int, int, int, int, int, int)’:
squarerect.cpp:68:32: error: a function-definition is not allowed here before ‘{’ token
68 | bool am_i_square(int N, int Q) {
| ^
squarerect.cpp:80:1: error: expected ‘}’ at end of input
80 | }
| ^
squarerect.cpp:48:73: note: to match this ‘{’
48 | bool insiders_square(int x, int y, int lowx, int lowy, int upx, int upy){
| ^