Borderou de evaluare (job #2792710)

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

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
13ms3354kbNumar de componente gresit00
219ms4190kbComponente tare conexe: nod duplicat4
34ms4272kbNumar de componente gresit0
48ms4300kbNumar de componente gresit00
58ms4067kbNumar de componente gresit0
616ms4894kbNumar de componente gresit0
731ms5443kbNumar de componente gresit00
8100ms7069kbNumar de componente gresit0
9280ms10584kbNumar de componente gresit0
10356ms16629kbTime limit exceeded00
Punctaj total0

Ceva nu functioneaza?