Borderou de evaluare (job #2793563)

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

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:190:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 190 | for (unsigned int j = 0; j < afisare[i].size(); ++ 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
11ms184kbComponente biconexe: componenta gresita4
21ms184kbComponente biconexe: componenta gresita4
31ms184kbComponente biconexe: componenta gresita4
41ms184kbComponente biconexe: componenta gresita4
51ms184kbComponente biconexe: componenta gresita4
63ms831kbComponente biconexe: componenta gresita4
720ms1593kbComponente biconexe: componenta gresita4
8350ms22630kbComponente biconexe: componenta gresita4
9160ms10997kbComponente biconexe: componenta gresita4
10230ms15589kbComponente biconexe: componenta gresita4
Punctaj total40

Ceva nu functioneaza?