Problem illuminate
User Nika533
Submission Time 2025-06-11 16:55:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

illuminate.cpp: In function ‘bool am_i_square(int, int)’:
illuminate.cpp:28:8: error: ‘inside_shape’ was not declared in this scope
28 | if (inside_shape(v[i],v[j])) {
| ^~~~~~~~~~~~
illuminate.cpp:40:7: error: ‘inside_shape’ was not declared in this scope
40 | if (inside_shape(mid,y)) {
| ^~~~~~~~~~~~
illuminate.cpp:51:7: error: ‘inside_shape’ was not declared in this scope
51 | if (inside_shape(x,mid)) {
| ^~~~~~~~~~~~
illuminate.cpp:62:33: error: ‘inside_shape’ was not declared in this scope
62 | if (lx+mid<=n && ly+mid<=n && inside_shape(lx+mid,ly+mid)) {
| ^~~~~~~~~~~~
illuminate.cpp:71:16: error: ‘inside_shape’ was not declared in this scope
71 | if (X+1<=n && inside_shape(X+1,Y)) check=0;
| ^~~~~~~~~~~~
illuminate.cpp:72:16: error: ‘inside_shape’ was not declared in this scope
72 | if (Y+1<=n &