Borderou de evaluare (job #3005167)

Utilizator stefandutastefandutahoria stefanduta Data 16 martie 2023 19:54:21
Problema Radiatie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:52:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | for (int i = 0; i < adj[node].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:109:21: warning: unused variable 'j' [-Wunused-variable] 109 | int n, m, k, i, j, a, b, c, cnt = 0; | ^ main.cpp:109:33: warning: unused variable 'cnt' [-Wunused-variable] 109 | int n, m, k, i, j, a, b, c, cnt = 0; | ^~~ main.cpp:157:8: warning: 'root' may be used uninitialized [-Wmaybe-uninitialized] 157 | dfs(root, 0); | ~~~^~~~~~~~~ main.cpp:138:9: note: 'root' was declared here 138 | int root; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
31ms557kbIncorect0
43ms1081kbIncorect0
56ms1802kbIncorect0
64ms2064kbIncorect0
77ms2850kbIncorect0
89ms4161kbIncorect0
96ms483kbKilled by Signal 110
104ms487kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?