Problem firefighting
User chisim
Submission Time 2023-02-13 14:53:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

firefighting.cpp: In function ‘void shortestPath(int)’:
firefighting.cpp:52:58: error: ‘minDist’ was not declared in this scope
52 | if (dist[v] > dist[u] + w && (dist[u] + w <= minDist))
| ^~~~~~~