Dijkstros algoritmas

Taškai: 100

Compile: OK

dijkstra.cpp: In function ‘int main()’: dijkstra.cpp:31:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 31 | auto [d, v] = pq.top(); | ^ dijkstra.cpp:38:19: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 38 | for (auto [u, w] : adj[v]) { | ^

nr.resulttimemessage
1True0.001 sok
2True0.001 sok
3True0.063 sok
4True0.051 sok
5True0.001 sok
6True0.055 sok
7True0.053 sok
8True0.052 sok
9True0.044 sok
10True0.072 sok
11True0.001 sok
12True0.001 sok
13True0.001 sok
14True0.123 sok
15True0.108 sok
16True0.128 sok
17True0.126 sok
18True0.11 sok