Borderou de evaluare (job #2792724)

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

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:389:65: warning: unused variable 'nodStart' [-Wunused-variable] 389 | int noduri, muchii, extremitateInitiala, extremitateFinala, nodStart; | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
115ms4288kbNumar de componente gresit00
26ms3715kbComponente tare conexe: nod duplicat4
315ms4239kbNumar de componente gresit0
415ms4096kbNumar de componente gresit00
521ms4419kbNumar de componente gresit0
639ms4841kbNumar de componente gresit0
736ms5541kbNumar de componente gresit00
8145ms7032kbNumar de componente gresit0
9237ms10498kbNumar de componente gresit0
10244ms15986kbComponente tare conexe: nod duplicat44
Punctaj total4

Ceva nu functioneaza?