Karosai (LMIO 2018/2019)
- [1] 2025-03-22 14:32 (8.7)
- [2] 2025-03-22 14:34 (8.7)
- [3] 2025-03-22 14:36 (0)
- [4] 2025-03-22 14:37 (8.7)
- [5] 2025-03-22 14:39 (21.7)
- [6] 2025-03-22 14:40 (21.7)
- [7] 2025-03-22 14:41 (21.7)
- [8] 2025-03-22 14:42 (100)
Taškai: 0
Compile: FAIL
karosai_vyr.cpp: In function ‘int main()’: karosai_vyr.cpp:33:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 33 | auto [kel, id] = pq.top(); | ^ karosai_vyr.cpp:49:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 49 | for(auto [j, d] : ajs[id]) | ^ karosai_vyr.cpp:54:42: error: expected ‘}’ before ‘;’ token 54 | pq.push({max(d, dist[id]);, j}); | ~ ^ karosai_vyr.cpp:54:42: error: expected ‘)’ before ‘;’ token 54 | pq.push({max(d, dist[id]);, j}); | ~ ^ | ) karosai_vyr.cpp:54:43: error: expected primary-expression before ‘,’ token 54 | pq.push({max(d, dist[id]);, j}); | ^ karosai_vyr.cpp:54:47: error: expected primary-expression before ‘)’ token 54 | pq.push({max(d, dist[id]);, j}); | ^ karosai_vyr.cpp: At global scope: karosai_vyr.cpp:63:5: error: expected unqualified-id before ‘return’ 63 | return 0; | ^~~~~~ karosai_vyr.cpp:64:1: error: expected declaration before ‘}’ token 64 | } | ^
nr. | result | time | message |
---|