Borderou de evaluare (job #2797590)

Utilizator PopelEmilBogdanPopel Emil-Bogdan PopelEmilBogdan Data 10 noiembrie 2021 10:58:44
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Graph::DFS(int, std::vector<bool>&, std::vector<int>&, int&)': main.cpp:56:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | for(int i = 0; i < AdjList[src].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::DFStranspose(int, std::vector<int>&, int&)': main.cpp:71:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 71 | for(int i = 0; i < AdjListTranspose[src].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::KOSARAJU()': main.cpp:112:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 112 | for(i = 1; i <= ContorCTC; ++i) | ^~~ main.cpp:114:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 114 | for(j = 1; j <= MarcareInOrdineInversa.size(); ++j) | ^~~ main.cpp:114:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 114 | for(j = 1; j <= MarcareInOrdineInversa.size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:111:5: warning: variable 'node_curr' set but not used [-Wunused-but-set-variable] 111 | int node_curr, i,j; | ^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:163:9: warning: right operand of comma operator has no effect [-Wunused-value] 163 | in>>N, M; | ^ main.cpp:20:21: warning: 'M' is used uninitialized in this function [-Wuninitialized] 20 | this->edges = edges; | ~~~~~~~~~~~~^~~~~~~ main.cpp:162:8: note: 'M' was declared here 162 | int N, M; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
118ms2146kbFisier de iesire inexistent0
29ms2142kbFisier de iesire inexistent0
333ms2158kbFisier de iesire inexistent0
49ms2011kbFisier de iesire inexistent0
516ms2068kbFisier de iesire inexistent0
69ms2064kbFisier de iesire inexistent0
78ms1986kbFisier de iesire inexistent0
818ms2060kbFisier de iesire inexistent0
920ms2080kbFisier de iesire inexistent0
1019ms2064kbFisier de iesire inexistent0
Punctaj total0

Ceva nu functioneaza?