Borderou de evaluare (job #2944445)

Utilizator lucametehauDart Monkey lucametehau Data 22 noiembrie 2022 16:10:02
Problema Gandaci Java 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:136:8: warning: unused variable 't1' [-Wunused-variable] 136 | ld t1 = clock(); | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1172ms8773kbOK5
2285ms9551kbOK5
3261ms9338kbOK5
4367ms10063kbOK5
5277ms10899kbOK5
6360ms9945kbOK5
7152ms8269kbOK5
8191ms8749kbOK5
9149ms8486kbOK5
10395ms11300kbOK5
11200ms13991kbOK5
12282ms9654kbOK5
13372ms10067kbOK5
14417ms16089kbOK5
15376ms11030kbOK5
16179ms8503kbOK5
17467ms11247kbOK5
18478ms10792kbOK5
19319ms10780kbOK5
20175ms8835kbOK5
Punctaj total100

Ceva nu functioneaza?