Dijkstros algoritmas

Taškai: 61.1

Compile: OK

dijkstra.cpp: In function ‘int main()’: dijkstra.cpp:29:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 29 | auto [cur_dist, idx] = pq.top(); | ^ dijkstra.cpp:35:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 35 | for(auto [j, weight] : adj[idx]){ | ^

nr.resulttimemessage
1True0.001 sok
2True0.001 sok
3True0.147 sok
4False0.111 sNeteisinga eilutė
5True0.001 sok
6True0.124 sok
7True0.123 sok
8True0.11 sok
9True0.107 sok
10False0.15 sNeteisinga eilutė
11True0.001 sok
12True0.001 sok
13True0.001 sok
14False0.238 sNeteisinga eilutė
15False0.235 sNeteisinga eilutė
16False0.252 sNeteisinga eilutė
17False0.236 sNeteisinga eilutė
18False0.239 sNeteisinga eilutė