Problem squarerect
User Dynonychus
Submission Time 2024-02-07 23:49:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(long long int, long long int)’:
squarerect.cpp:34:8: error: request for member ‘at’ in ‘vec’, which is of non-class type ‘bool [5][5]’
34 | vec.at(i).at(j) = inside_shape(((i+1)*20), ((j+1)*20));
| ^~
squarerect.cpp:41:27: error: request for member ‘at’ in ‘vec’, which is of non-class type ‘bool [5][5]’
41 | check = max(check, vec.at(i).at(j));
| ^~
squarerect.cpp:55:12: error: request for member ‘at’ in ‘vec’, which is of non-class type ‘bool [5][5]’
55 | if(vec.at(i).at(j)) {
| ^~