Borderou de evaluare (job #2944366)

Utilizator cadmium_Voicu Mihai-Valeriu cadmium_ Data 22 noiembrie 2022 14:28:23
Problema Pisici Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:24:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 24 | for(auto [x, w] : g[node]) { | ^ main.cpp:29:3: error: 'quick_sort' was not declared in this scope; did you mean 'quick_exit'? 29 | quick_sort(all(v), greater<pii>()); | ^~~~~~~~~~ | quick_exit main.cpp:32:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 32 | for(auto [x, add] : v) | ^ main.cpp: In function 'void reroot(int, int, ll, ll)': main.cpp:43:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 43 | for(auto [x, w] : g[node]) { | ^ main.cpp:47:3: error: 'quick_sort' was not declared in this scope; did you mean 'quick_exit'? 47 | quick_sort(all(v), greater<pii>()); | ^~~~~~~~~~ | quick_exit main.cpp:53:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 53 | auto [plus, atr] = v[i]; | ^ main.cpp:65:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 65 | auto [plus, atr] = v[i]; | ^ main.cpp:75:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 75 | auto [c, x] = v[i]; | ^ main.cpp: In function 'int main()': main.cpp:88:18: warning: unused variable 'x' [-Wunused-variable] 88 | for(int i = 1, x; i < n; i++) | ^ Non zero exit status: 1

Ceva nu functioneaza?