Borderou de evaluare (job #2821623)

Utilizator TDV24Tont Dragos-Valentin TDV24 Data 22 decembrie 2021 19:53:58
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Graf::DFS(int, std::vector<bool>&)': main.cpp:124:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 124 | for(int i = 1; i < lista_vecini[nod].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::hakimi(int, std::vector<int>&, std::ostream&)': main.cpp:176:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 176 | if(aux > lista.size()) | ~~~~^~~~~~~~~~~~~~ main.cpp: In member function 'int Graf::DFS_sortaret(std::queue<int>&)': main.cpp:196:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 196 | for(int j = 1; j < lista_vecini[i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:206:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 206 | for(int i = 1; i < lista_vecini[aux].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:213:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::queue<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | if(nr_noduri == lista.size()) | ~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::darb(int, int*, bool*, std::queue<int>, int&, int&)': main.cpp:344:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 344 | for(i = 0; i < lista_vecini[el].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void pb_biconex()': main.cpp:439:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 439 | for(int i = 0; i < componente_biconexe.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:443:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 443 | for(int j = 0; j < componente_biconexe[i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:429:15: warning: unused variable 'nr_biconexe' [-Wunused-variable] 429 | int N, M, nr_biconexe = 0; | ^~~~~~~~~~~ main.cpp: In function 'void pb_apm()': main.cpp:545:25: warning: unused variable 'cost1' [-Wunused-variable] 545 | int N, M, cost = 0, cost1 = 0; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbComponente biconexe: numar gresit0
22ms184kbComponente biconexe: numar gresit0
32ms184kbComponente biconexe: numar gresit0
46ms1622kbComponente biconexe: numar gresit0
56ms1785kbComponente biconexe: numar gresit0
658ms12324kbComponente biconexe: numar gresit0
7121ms19206kbComponente biconexe: numar gresit0
8401ms115961kbTime limit exceeded0
9401ms133627kbTime limit exceeded0
10400ms92667kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?