Problem tiling
User xd490
Submission Time 2026-11-12 13:56:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tiling.cpp: In function ‘void init(int, int)’:
tiling.cpp:8:32: error: expected ‘;’ before ‘)’ token
8 | for(long long i=0;i<M*N,i++){
| ^
| ;
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 lon