Problem | dijkstra |
---|---|
User | Mischa |
Submission Time | 2023-11-16 09:35:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:24:19: error: expected initializer before ‘i’
24 | int edgeweight i.second;
| ^
dijkstra.cpp:25:44: error: ‘edgeweight’ was not declared in this scope
25 | if (dist[i.first] == -1 or dist[node] + edgeweight < dist[i.first]){
| ^~~~~~~~~~