Borderou de evaluare (job #3190749)

Utilizator raducostacheRadu Costache raducostache Data 7 ianuarie 2024 21:48:54
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In constructor 'Graph::Graph(int)': main.cpp:23:19: warning: 'Graph::viz' will be initialized after [-Wreorder] 23 | vector <bool> viz; | ^~~ main.cpp:22:18: warning: 'std::vector<int> Graph::parent' [-Wreorder] 22 | vector <int> parent; | ^~~~~~ main.cpp:25:5: warning: when initialized here [-Wreorder] 25 | Graph(int n) : n(n), adj(n), viz(n), parent(n), flux(n), capacity(n) { | ^~~~~ main.cpp:22:18: warning: 'Graph::parent' will be initialized after [-Wreorder] 22 | vector <int> parent; | ^~~~~~ main.cpp:21:39: warning: 'std::vector<std::unordered_map<int, int> > Graph::flux' [-Wreorder] 21 | vector <unordered_map <int, int>> flux, capacity; | ^~~~ main.cpp:25:5: warning: when initialized here [-Wreorder] 25 | Graph(int n) : n(n), adj(n), viz(n), parent(n), flux(n), capacity(n) { | ^~~~~ main.cpp: In function 'int main()': main.cpp:113:9: warning: unused variable 'x' [-Wunused-variable] 113 | int x, y; | ^ main.cpp:113:12: warning: unused variable 'y' [-Wunused-variable] 113 | int x, y; | ^ main.cpp:132:9: warning: unused variable 'flux' [-Wunused-variable] 132 | int flux = G.Flux(0, n + m + 1); | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect!0
20ms303kbIncorect!0
30ms303kbIncorect!0
40ms303kbIncorect!0
50ms557kbIncorect!0
60ms557kbIncorect!0
71ms557kbIncorect!0
81ms561kbIncorect!0
90ms303kbIncorect!0
101ms557kbS-a respectat legea!10
Punctaj total10

Ceva nu functioneaza?