Borderou de evaluare (job #2794077)

Utilizator PopescuMihneaPopescu Mihnea-Valentin PopescuMihnea Data 4 noiembrie 2021 11:57:32
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In member function 'void graf::sortvecini()': main.cpp:97: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] 97 | for (int i=1; i<this->lista_vecini.size(); ++i) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:100:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (j=0; j<lista_vecini[i].size(); ++j) | ~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void graf::biconex(unsigned int)': main.cpp:180:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 180 | for (i=1; i<=n; ++i) | ~^~~ main.cpp:190:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 190 | for (auto j = afisare[i].begin(); j != afisare[i].end(); ++ j) | ^~~ main.cpp:192:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 192 | g<<"\n"; | ^ main.cpp:211:26: warning: unused variable 'first' [-Wunused-variable] 211 | bool first=true; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbCorect10
21ms184kbCorect10
31ms184kbCorect10
412ms393kbCorect10
52ms188kbCorect10
66ms1224kbCorect10
724ms2449kbCorect10
8402ms40062kbTime limit exceeded0
9277ms15683kbCorect10
10407ms20692kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?