Borderou de evaluare (job #2814340)

Utilizator IoanaLiviaPopescu15Ioana Livia IoanaLiviaPopescu15 Data 7 decembrie 2021 22:52:32
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'void Graph::DFS(int)': main.cpp:50:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 50 | for(int i = 0; i < adiacenta[vf].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:127:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 127 | for (int i = upper_limit; i > -1; i--) | ^~~ main.cpp:130:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 130 | return 0; | ^~~~~~ main.cpp:90:20: warning: unused variable 'conexe' [-Wunused-variable] 90 | int n, m, n1, n2, conexe = 0, s = 2; | ^~~~~~ main.cpp:90:32: warning: unused variable 's' [-Wunused-variable] 90 | int n, m, n1, n2, conexe = 0, s = 2; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms2449kbOK10
26ms2543kbOK10
36ms2560kbOK10
46ms2498kbOK10
511ms2707kbOK10
615ms2781kbOK10
725ms3145kbOK10
835ms3395kbOK10
963ms4001kbOK10
1097ms4456kbOK10
Punctaj total100

Ceva nu functioneaza?