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

Compile Error

firefighting.cpp: In function ‘void shortestPath(int)’:
firefighting.cpp:22:18: error: ‘MAX_LONG’ was not declared in this scope
22 | memset(dist, MAX_LONG, sizeof dist);
| ^~~~~~~~
firefighting.cpp: In function ‘int main()’:
firefighting.cpp:59:17: error: ‘INF’ was not declared in this scope
59 | long minDist = INF;
| ^~~