Borderou de evaluare (job #2944438)

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

Raport evaluator

Compilare: main.cpp: In member function 'bool Flow::bfs(int, int)': main.cpp:89:24: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 89 | for (auto &[son, cap, _] : g[node]) { | ^ main.cpp:88:17: warning: unused variable 'ind' [-Wunused-variable] 88 | int ind = 0; | ^~~ main.cpp: In member function 'int Flow::dfs(int, int, int)': main.cpp:103:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Flow::Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (; idx[node] < g[node].size(); idx[node]++) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp:104:19: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 104 | auto& [son, cap, ind] = g[node][idx[node]]; | ^ main.cpp: In member function 'int Flow::max_flow(int, int)': main.cpp:125:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 125 | while(flow = dfs(src, dst)) { | ~~~~~^~~~~~~~~~~~~~~ main.cpp: In function 'void solve(int)': main.cpp:154:20: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 154 | for (auto& [j, cap, _] : flow.g[i]) { | ^ main.cpp:138:8: warning: unused variable 't1' [-Wunused-variable] 138 | ld t1 = clock(); | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
114ms20496kbMemory limit exceeded0
214ms20496kbMemory limit exceeded0
314ms20496kbMemory limit exceeded0
414ms20496kbMemory limit exceeded0
514ms20496kbMemory limit exceeded0
614ms20496kbMemory limit exceeded0
714ms20496kbMemory limit exceeded0
814ms20496kbMemory limit exceeded0
914ms20496kbMemory limit exceeded0
1014ms20496kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?