Borderou de evaluare (job #3125973)

Utilizator seby_me14Ilinca Sebastian-Ionut seby_me14 Data 4 mai 2023 23:36:41
Problema Berarii2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In member function 'void Task::print_output()': main.cpp:168:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 168 | for (int i = 0; i < intersectii.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:150:9: warning: unused variable 'index' [-Wunused-variable] 150 | int index = 1; | ^~~~~ main.cpp: In member function 'void Task::tarjan(int, int&)': main.cpp:132:26: warning: 'current' may be used uninitialized [-Wmaybe-uninitialized] 132 | while (!st.empty() && current != node) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:127:11: note: 'current' was declared here 127 | int current; | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms2654kbIncorect0
21ms2654kbIncorect0
31ms2654kbIncorect0
41ms2654kbIncorect0
51ms2654kbIncorect0
61ms2654kbIncorect0
71ms2654kbIncorect0
81ms2654kbOK5
91ms2654kbIncorect0
103ms3764kbIncorect0
114ms3764kbIncorect0
129ms3440kbOK5
13104ms10141kbOK5
149ms7294kbIncorect0
15153ms17604kbOK5
1614ms18915kbKilled by Signal 110
1714ms18857kbKilled by Signal 110
1814ms18849kbKilled by Signal 110
1914ms18853kbKilled by Signal 110
2014ms18898kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?