Problem tiling
User xd490
Submission Time 2026-11-12 14:10:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tiling.cpp: In function ‘std::pair<int, int> receive_block(int, int, int, int)’:
tiling.cpp:18:22: error: ‘M’ was not declared in this scope
18 | for(long long i=M*N-1;i>=0;i--){
| ^
tiling.cpp:18:24: error: ‘N’ was not declared in this scope
18 | for(long long i=M*N-1;i>=0;i--){
| ^
tiling.cpp:19:13: error: ‘arr’ was not declared in this scope
19 | if(arr[i]==0){
| ^~~
tiling.cpp:34:26: error: ‘M’ was not declared in this scope
34 | for(long long i=0;i<M;i++){
| ^
tiling.cpp:35:26: error: ‘N’ was not declared in this scope
35 | for(long long i=N-1;i>=0;i--){
| ^
tiling.cpp:36:14: error: ‘arr’ was not declared in this scope
36 | if(arr[i]==0){
| ^~~
tiling.cpp:55:22: error: ‘M’ was not declared in th