Dijkstros algoritmas

Taškai: 100

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.002 sok
2True0.001 sok
3True0.149 sok
4True0.114 sok
5True0.001 sok
6True0.14 sok
7True0.122 sok
8True0.113 sok
9True0.108 sok
10True0.151 sok
11True0.001 sok
12True0.001 sok
13True0.001 sok
14True0.243 sok
15True0.251 sok
16True0.259 sok
17True0.24 sok
18True0.243 sok