Problem squarerect
User shoryu386
Submission Time 2023-12-26 14:19:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:7:17: error: ‘inside_shape’ was not declared in this scope
7 | spec[i][j] = inside_shape(SPEC*i, SPEC*j);
| ^~~~~~~~~~~~
squarerect.cpp:12:4: error: ‘cerr’ was not declared in this scope
12 | cerr << spec[i][j];
| ^~~~
squarerect.cpp:14:3: error: ‘cerr’ was not declared in this scope
14 | cerr << '\n';
| ^~~~
squarerect.cpp:18:3: error: ‘cerr’ was not declared in this scope
18 | cerr << "???";
| ^~~~
squarerect.cpp:30:7: error: ‘inside_shape’ was not declared in this scope
30 | if (inside_shape(m, latestj)){
| ^~~~~~~~~~~~
squarerect.cpp:43:7: error: ‘inside_shape’ was not declared in this scope
43 | if (inside_shape(m, latestj)){
| ^~~~~~~~~~~~
squarerect.cpp:56:7: error: ‘inside_shape’ was not declared in this scope
56 | if (ins