Borderou de evaluare (job #2793556)

Utilizator PopescuMihneaPopescu Mihnea-Valentin PopescuMihnea Data 3 noiembrie 2021 18:52:57
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In member function 'void graf::sortvecini()': main.cpp:96:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<unsigned int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 96 | for (int i=1; i<this->lista_vecini.size(); ++i) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:99:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 99 | for (j=0; j<lista_vecini[i].size(); ++j) | ~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void graf::biconex(unsigned int)': main.cpp:179:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 179 | for (i=1; i<=n; ++i) | ~^~~ main.cpp:191:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 191 | for (unsigned int j = 0; j < afisare[i].size(); ++ j) | ^~~ main.cpp:193:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 193 | g<<"\n"; | ^ main.cpp:212:26: warning: unused variable 'first' [-Wunused-variable] 212 | bool first=true; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbCorect10
21ms184kbCorect10
31ms184kbCorect10
41ms184kbCorect10
51ms184kbCorect10
66ms872kbCorect10
720ms1552kbCorect10
8405ms22511kbTime limit exceeded0
9247ms10670kbCorect10
10308ms15069kbCorect10
Punctaj total90

Ceva nu functioneaza?