Problem dijkstra
User Elnathan
Submission Time 2024-09-09 17:01:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:33:26: error: ‘INT_MAX’ was not declared in this scope
33 | fill(dist, dist + v, INT_MAX);
| ^~~~~~~
dijkstra.cpp:5:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
4 | #include <queue>
+++ |+#include <climits>
5 | #include <vector>