Borderou de evaluare (job #2793397)

Utilizator PopescuMihneaPopescu Mihnea-Valentin PopescuMihnea Data 3 noiembrie 2021 16:44:27
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In member function 'void graf::sortvecini()': main.cpp:94:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 94 | for (int i=1;i<this->lista_vecini.size();++i) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:97:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 97 | for (j=0;j<lista_vecini[i].size();++j) | ~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void graf::biconex(unsigned int)': main.cpp:199:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 199 | for (int i=0;i<stiva.size();++i) | ~^~~~~~~~~~~~~ main.cpp:216:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 216 | if (copil[nod_curent]!=0) | ^~ main.cpp:218:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 218 | if (niv_int[copil[nod_curent]]>=niv[nod_curent]) | ^~ main.cpp:209:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 209 | for (unsigned int i=0; i<this->lista_vecini[nod_curent].size(); ++i) | ^~~ main.cpp:230:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 230 | cout<<nod_curent<<"\n"; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK10
21ms184kbOK10
31ms184kbOK10
46ms311kbOK10
512ms438kbOK10
6783ms1904kbOK10
71051ms3747kbTime limit exceeded0
81055ms5537kbTime limit exceeded0
91050ms11198kbTime limit exceeded0
101053ms11194kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?