Borderou de evaluare (job #2796712)

Utilizator redikusTiganus Alexandru redikus Data 8 noiembrie 2021 18:31:14
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In constructor 'graf::graf(std::vector<std::vector<int> >, int, int)': main.cpp:10:30: warning: 'graf::adiacenta' will be initialized after [-Wreorder] 10 | vector < vector < int >> adiacenta; | ^~~~~~~~~ main.cpp:9:9: warning: 'int graf::noduri' [-Wreorder] 9 | int noduri, muchii; | ^~~~~~ main.cpp:14:5: warning: when initialized here [-Wreorder] 14 | graf(vector < vector < int >> listaAdiacenta, int noduri, int muchii): adiacenta(listaAdiacenta), noduri(noduri), muchii(muchii) {}; | ^~~~ main.cpp: In constructor 'graf::graf(int, int)': main.cpp:10:30: warning: 'graf::adiacenta' will be initialized after [-Wreorder] 10 | vector < vector < int >> adiacenta; | ^~~~~~~~~ main.cpp:9:9: warning: 'int graf::noduri' [-Wreorder] 9 | int noduri, muchii; | ^~~~~~ main.cpp:17:5: warning: when initialized here [-Wreorder] 17 | graf(int noduri, int muchii): adiacenta(noduri + 1), noduri(noduri), muchii(muchii) {}; | ^~~~ main.cpp: In function 'bool havelHakimi(std::vector<int>&)': main.cpp:308:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 308 | if (x > a.size()) { | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms184kbNumar de componente gresit00
21ms184kbCorect10
31ms184kbNumar de componente gresit0
43ms409kbNumar de componente gresit00
515ms438kbNumar de componente gresit0
613ms1073kbNumar de componente gresit0
751ms2166kbNumar de componente gresit00
877ms4345kbNumar de componente gresit0
9165ms9371kbNumar de componente gresit0
10215ms16908kbCorect1010
Punctaj total10

Ceva nu functioneaza?