Borderou de evaluare (job #2794083)

Utilizator PopescuMihneaPopescu Mihnea-Valentin PopescuMihnea Data 4 noiembrie 2021 12:08:09
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:189:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 189 | for (auto j = afisare[i].begin(); j != afisare[i].end(); ++ j) | ^~~ main.cpp:191:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 191 | 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
42ms212kbCorect10
513ms438kbCorect10
610ms1056kbCorect10
714ms1777kbCorect10
8401ms24629kbTime limit exceeded0
9195ms12394kbCorect10
10254ms17805kbCorect10
Punctaj total90

Ceva nu functioneaza?