Borderou de evaluare (job #2944565)

Utilizator lucametehauDart Monkey lucametehau Data 22 noiembrie 2022 17:51:24
Problema Taramul Nicaieri Status done
Runda Arhiva de probleme 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:156:20: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 156 | for (auto& [j, cap, _] : flow.g[i]) { | ^ main.cpp:136:8: warning: unused variable 't1' [-Wunused-variable] 136 | ld t1 = clock(); | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOk!5
20ms184kbOk!5
30ms184kbOk!5
40ms184kbOk!5
50ms184kbOk!5
60ms184kbOk!5
70ms184kbOk!5
80ms184kbOk!5
90ms184kbOk!5
100ms184kbOk!5
110ms184kbOk!5
120ms184kbOk!5
130ms184kbOk!5
140ms184kbOk!5
150ms184kbOk!5
160ms184kbOk!5
170ms184kbOk!5
180ms184kbOk!5
190ms184kbOk!5
200ms184kbOk!5
Punctaj total100

Ceva nu functioneaza?