Borderou de evaluare (job #2944399)

Utilizator lucametehauDart Monkey lucametehau Data 22 noiembrie 2022 15:13:20
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'bool Flow::bfs(int, int)': main.cpp:86:24: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 86 | for (auto &[son, cap, _] : g[node]) { | ^ main.cpp:85:17: warning: unused variable 'ind' [-Wunused-variable] 85 | int ind = 0; | ^~~ main.cpp: In member function 'int Flow::dfs(int, int, int)': main.cpp:100:20: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 100 | for (auto &[son, cap, ind] : g[node]) { | ^ main.cpp:101:43: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<Flow::Edge>, Flow::Edge>::value_type' {aka 'Flow::Edge'} to 'const void*' 101 | __builtin_prefetch(g[son][ind]); | ^ | | | __gnu_cxx::__alloc_traits<std::allocator<Flow::Edge>, Flow::Edge>::value_type {aka Flow::Edge} <built-in>: note: initializing argument 1 of 'void __builtin_prefetch(const void*, ...)' main.cpp: In function 'void solve(int)': main.cpp:151:20: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 151 | for (auto& [j, cap, _] : flow.g[i]) { | ^ main.cpp:135:8: warning: unused variable 't1' [-Wunused-variable] 135 | ld t1 = clock(); | ^~ Non zero exit status: 1

Ceva nu functioneaza?