Dijkstros algoritmas

Taškai: 66.7

Compile: OK

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

nr.resulttimemessage
1True0.003 sok
2True0.003 sok
3True0.151 sok
4False0.11 sNeteisinga eilutė
5True0.003 sok
6True0.121 sok
7True0.119 sok
8True0.112 sok
9True0.106 sok
10True0.151 sok
11True0.003 sok
12True0.003 sok
13True0.003 sok
14False0.221 sNeteisinga eilutė
15False0.223 sNeteisinga eilutė
16False0.227 sNeteisinga eilutė
17False0.225 sNeteisinga eilutė
18False0.225 sNeteisinga eilutė