Borderou de evaluare (job #2897270)

Utilizator cadmium_Voicu Mihai-Valeriu cadmium_ Data 3 mai 2022 10:46:59
Problema Canibali Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'int Flow::dfs(int, int)': main.cpp:57:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 57 | for(int i = left[node]; i < g[node].size(); i++) { | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'int Flow::mkflow()': main.cpp:82:12: error: 'struct Edg' has no member named 'u' 82 | if(e.u == s || e.u == t || e.v == s) | ^ main.cpp:82:24: error: 'struct Edg' has no member named 'u' 82 | if(e.u == s || e.u == t || e.v == s) | ^ main.cpp: In function 'int main()': main.cpp:106:13: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 106 | for(auto &[a, b, c, d] : nodes) | ^ main.cpp:121:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 121 | for(auto [x2, y2, z2, t2] : nodes) { | ^ Non zero exit status: 1

Ceva nu functioneaza?