Problem boundlessboxes
User Isaac
Submission Time 2026-04-15 20:10:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boundlessboxes.cpp: In function ‘int main()’:
boundlessboxes.cpp:34:20: error: ‘m’ was not declared in this scope
34 | if (nx<0 or nx>=m or ny<0 or ny>=n) continue;
| ^
boundlessboxes.cpp:34:37: error: ‘n’ was not declared in this scope; did you mean ‘ny’?
34 | if (nx<0 or nx>=m or ny<0 or ny>=n) continue;
| ^
| ny
boundlessboxes.cpp:35:8: error: ‘dist’ was not declared in this scope
35 | if (dist[nx][ny]!=-1) continue;
| ^~~~
boundlessboxes.cpp:37:4: error: ‘dist’ was not declared in this scope
37 | dist[nx][ny] = dist[x][y]+1;
| ^~~~
boundlessboxes.cpp:42:1: error: expected ‘}’ at end of input
42 | }
| ^
boundlessboxes.cpp:6:14: note: to match this ‘{’
6 | signed main(){
| ^