Dijkstros algoritmas
- [1] 2025-03-22 11:57 (44.4)
- [2] 2025-03-22 11:57 (100)
Taškai: 44.4
Compile: OK
dijkstra.cpp: In function ‘int main()’: dijkstra.cpp:32:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 32 | auto [d, v] = pq.top(); | ^ dijkstra.cpp:39:19: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 39 | for (auto [u, w] : adj[v]) { | ^
nr. | result | time | message |
---|---|---|---|
1 | False | 0.001 s | Neteisinga eilutė |
2 | False | 0.001 s | Neteisinga eilutė |
3 | True | 0.088 s | ok |
4 | True | 0.053 s | ok |
5 | True | 0.001 s | ok |
6 | True | 0.061 s | ok |
7 | True | 0.058 s | ok |
8 | True | 0.058 s | ok |
9 | True | 0.051 s | ok |
10 | True | 0.08 s | ok |
11 | False | 0.001 s | Neteisinga eilutė |
12 | False | 0.001 s | Neteisinga eilutė |
13 | False | 0.001 s | Neteisinga eilutė |
14 | False | 0.158 s | Neteisinga eilutė |
15 | False | 0.169 s | Neteisinga eilutė |
16 | False | 0.151 s | Neteisinga eilutė |
17 | False | 0.154 s | Neteisinga eilutė |
18 | False | 0.173 s | Neteisinga eilutė |