Borderou de evaluare (job #2792745)

Utilizator andre.anghelacheAndreea Anghelache andre.anghelache Data 2 noiembrie 2021 11:29:19
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In member function 'void Graf::bfs(int)': main.cpp:115:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 115 | for(int i=0; i<listaAdiacenta[nodCurent].size(); i++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::sortareTopologica(std::ostream&)': main.cpp:143:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 143 | for(int i = 0; i < listaAdiacenta[nodCurent].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::initializareCompBiconexe(std::ostream&)': main.cpp:228:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 228 | for(int i = 0; i < nrComponenteBiconexe; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:229:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 229 | for(int j = 0; j < componenteBiconexe[i].size(); j++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::initializareCompTareConexe(std::ostream&)': main.cpp:304:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 304 | for(int i = 0; i < nrComponenteTareConexe; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:305:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 305 | for(int j = 0; j < listaComponenteTareConexe[i].size(); j++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:386:65: warning: unused variable 'nodStart' [-Wunused-variable] 386 | int noduri, muchii, extremitateInitiala, extremitateFinala, nodStart; | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms3391kbNumar de componente gresit00
24ms4231kbCorect10
311ms4239kbNumar de componente gresit0
411ms4292kbNumar de componente gresit00
519ms4501kbNumar de componente gresit0
615ms4648kbNumar de componente gresit0
731ms5496kbNumar de componente gresit00
879ms7020kbNumar de componente gresit0
9138ms10313kbNumar de componente gresit0
10218ms15536kbCorect1010
Punctaj total10

Ceva nu functioneaza?