Dijkstros algoritmas
- [1] 2025-03-22 12:09 (100)
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. | result | time | message |
---|---|---|---|
1 | True | 0.002 s | ok |
2 | True | 0.002 s | ok |
3 | True | 0.15 s | ok |
4 | True | 0.116 s | ok |
5 | True | 0.003 s | ok |
6 | True | 0.125 s | ok |
7 | True | 0.125 s | ok |
8 | True | 0.116 s | ok |
9 | True | 0.108 s | ok |
10 | True | 0.159 s | ok |
11 | True | 0.002 s | ok |
12 | True | 0.002 s | ok |
13 | True | 0.002 s | ok |
14 | True | 0.258 s | ok |
15 | True | 0.259 s | ok |
16 | True | 0.251 s | ok |
17 | True | 0.258 s | ok |
18 | True | 0.259 s | ok |