Borderou de evaluare (job #2944441)

Utilizator lucametehauDart Monkey lucametehau Data 22 noiembrie 2022 16:03:28
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'bool Flow::bfs(int, int)': main.cpp:88:24: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 88 | for (auto &[son, cap, _] : g[node]) { | ^ main.cpp:87:17: warning: unused variable 'ind' [-Wunused-variable] 87 | int ind = 0; | ^~~ main.cpp: In member function 'int Flow::dfs(int, int, int)': main.cpp:102:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Flow::Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (; idx[node] < g[node].size(); idx[node]++) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp:103:19: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 103 | auto& [son, cap, ind] = g[node][idx[node]]; | ^ main.cpp: In member function 'int Flow::max_flow(int, int)': main.cpp:124:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 124 | while(flow = dfs(src, dst)) { | ~~~~~^~~~~~~~~~~~~~~ main.cpp: In function 'void solve(int)': main.cpp:136:8: warning: unused variable 't1' [-Wunused-variable] 136 | ld t1 = clock(); | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbOK1010
20ms184kbOK1010
30ms184kbOK1010
40ms184kbOK1010
50ms184kbOK1010
60ms184kbOK1010
70ms184kbOK1010
80ms184kbOK1030
90ms184kbOK10
100ms184kbOK10
Punctaj total100

Ceva nu functioneaza?