Borderou de evaluare (job #2870227)
Utilizator | Data | 12 martie 2022 11:04:04 | |
---|---|---|---|
Problema | Lanterna | Status | done |
Runda | wellcodesimulareav-12martie | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dijkstra(const int&)':
main.cpp:14:8: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
14 | auto [nod, t, w] = q.front();
| ^
main.cpp:16:20: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
16 | for (const auto& [x, t_cost, w_cost] : v[nod]) {
| ^
main.cpp:17:30: error: 'k' was not declared in this scope
17 | if (w + w_cost > k)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !