Problem mining
User PlayVoltz
Submission Time 2023-10-19 21:02:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mining.cpp: In function ‘int mining(int, int, int, int, int)’:
mining.cpp:18:2: error: expected initializer before ‘bool’
18 | bool visited[n][m][sk+1];
| ^~~~
mining.cpp:19:9: error: ‘dj’ was not declared in this scope; did you mean ‘dx’?
19 | memset(dj, INT_MAX, sizeof(visited));
| ^~
| dx
mining.cpp:19:29: error: ‘visited’ was not declared in this scope
19 | memset(dj, INT_MAX, sizeof(visited));
| ^~~~~~~