Dijkstros algoritmas

Taškai: 100

Compile: OK

dijkstra.cpp: In function ‘int main()’: dijkstra.cpp:37:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 37 | auto [tdis, idx] = pq.top(); | ^ dijkstra.cpp:45:19: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 45 | for (auto [w, j] : graf[idx]) | ^

nr.resulttimemessage
1True0.002 sok
2True0.002 sok
3True0.15 sok
4True0.116 sok
5True0.003 sok
6True0.125 sok
7True0.125 sok
8True0.116 sok
9True0.108 sok
10True0.159 sok
11True0.002 sok
12True0.002 sok
13True0.002 sok
14True0.258 sok
15True0.259 sok
16True0.251 sok
17True0.258 sok
18True0.259 sok