Problem dijkstra
User popperoni
Submission Time 2024-01-25 06:41:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:34:44: error: expected ‘)’ before ‘{’ token
34 | if (dist[v - 1] != -1 and a > dist[v - 1] {
| ~ ^~
| )
dijkstra.cpp:43:2: error: expected primary-expression before ‘}’ token
43 | }
| ^