Borderou de evaluare (job #2916160)

Utilizator AlexNeaguAlexandru AlexNeagu Data 28 iulie 2022 11:49:39
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In constructor 'MaxFlow::MaxFlow(int)': main.cpp:13:19: warning: 'MaxFlow::t' will be initialized after [-Wreorder] 13 | int nodes, s, t; | ^ main.cpp:13:9: warning: 'int MaxFlow::nodes' [-Wreorder] 13 | int nodes, s, t; | ^~~~~ main.cpp:16:5: warning: when initialized here [-Wreorder] 16 | MaxFlow(int _nodes) : s(1), t(_nodes), nodes(_nodes) { | ^~~~~~~ main.cpp: In member function 'int MaxFlow::bfs(std::vector<int>&)': main.cpp:31:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 31 | auto [cur_node, cur_flow] = Q.front(); | ^ main.cpp: In member function 'int MaxFlow::Compute_Flow()': main.cpp:47:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 47 | while(flow_pushed = bfs(par)) { | ~~~~~~~~~~~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms184kbOK1010
211ms184kbOK1010
31ms221kbOK1010
41ms184kbOK1010
51ms184kbOK1010
61ms184kbOK1010
75ms962kbOK1010
860ms2273kbTime limit exceeded00
961ms3715kbTime limit exceeded0
1060ms4452kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?