Problem tiling
User xd490
Submission Time 2026-11-12 13:58:49
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:17:22: error: ‘M’ was not declared in this scope
17 | for(long long i=M*N-1;i>=0;i--){
| ^
tiling.cpp:17:24: error: ‘N’ was not declared in this scope
17 | for(long long i=M*N-1;i>=0;i--){
| ^
tiling.cpp:18:13: error: ‘arr’ was not declared in this scope
18 | if(arr[i]==0){
| ^~~
tiling.cpp:33:26: error: ‘M’ was not declared in this scope
33 | for(long long i=0;i<M;i++){
| ^
tiling.cpp:34:26: error: ‘N’ was not declared in this scope
34 | for(long long i=N-1;i>=0;i--){
| ^
tiling.cpp:35:14: error: ‘arr’ was not declared in this scope
35 | if(arr[i]==0){
| ^~~
tiling.cpp:54:22: error: ‘M’ was not declared in th