Problem tiles
User trisanu123
Submission Time 2023-01-31 20:02:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tiles.cpp: In function ‘void build(int, int, int)’:
tiles.cpp:34:14: error: ‘rec’ was not declared in this scope; did you mean ‘res’?
34 | copy(t[id],rec[getMask(s)]);
| ^~~
| res
tiles.cpp: In function ‘void rflip(int, int, int, int)’:
tiles.cpp:44:14: error: ‘rec’ was not declared in this scope; did you mean ‘res’?
44 | copy(t[id],rec[getMask(s)]);
| ^~~
| res
tiles.cpp: In function ‘int main()’:
tiles.cpp:74:5: error: ‘rec’ was not declared in this scope; did you mean ‘res’?
74 | rec[bm][i][j]=0;
| ^~~
| res