Dijkstros algoritmas

Taškai: 66.7

Compile: OK

dijkstra.cpp: In function ‘void dijkstra(int, std::vector<std::vector<std::pair<int, int> > >&)’: dijkstra.cpp:14:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 14 | auto [d, node] = pq.top(); | ^ dijkstra.cpp:17:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 17 | for(auto [neigh, w] : graph[node]) { | ^

nr.resulttimemessage
1True0.001 sok
2True0.001 sok
3True0.127 sok
4False0.104 sNeteisinga eilutė
5True0.001 sok
6True0.118 sok
7True0.118 sok
8True0.109 sok
9True0.102 sok
10True0.144 sok
11True0.001 sok
12True0.001 sok
13True0.001 sok
14False0.221 sNeteisinga eilutė
15False0.225 sNeteisinga eilutė
16False0.218 sNeteisinga eilutė
17False0.236 sNeteisinga eilutė
18False0.227 sNeteisinga eilutė