Problem fireandbeary
User grapecoder
Submission Time 2023-10-14 15:36:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fireandbeary.cpp: In function ‘void bfs(int, int)’:
fireandbeary.cpp:40:83: error: expected ‘;’ before ‘dist’
40 | if (dist[j.first][j.second] != -1 || forest[j.first][j.second] == '@') continue
| ^
| ;
41 | dist[j.first][j.second] = dist[cur.first][cur.second] + 2;
| ~~~~