Problem tiles
User justin271828
Submission Time 2026-04-06 14:40:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tiles.cpp: In function ‘int calc2(int, int)’:
tiles.cpp:50:32: error: expected ‘;’ before ‘int’
50 | temp[(index+1)*SIZE-1][h]
| ^
| ;
51 |
52 | int main() {
| ~~~
tiles.cpp:69:3: error: expected ‘}’ at end of input
69 | else
| ^~~~
tiles.cpp:45:34: note: to match this ‘{’
45 | for (int h = 0; h < 8; h++) {//current state
| ^
tiles.cpp:69:3: error: expected ‘}’ at end of input
69 | else
| ^~~~
tiles.cpp:44:33: note: to match this ‘{’
44 | for (int k = 0; k < 8; k++) {//put tiles
| ^
tiles.cpp:69:3: error: expected ‘}’ at end of input
69 | else
| ^~~~
tiles.cpp:43:32: note: to match this ‘{’
43 | for (int j = 0; j < 8; j++) {//prev R
|