Borderou de evaluare (job #2977292)

Utilizator aaagabiTurbinca Gabriel aaagabi Data 11 februarie 2023 11:29:51
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:15:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 15 | for(int i=0;i<v[nod].size();i++) | ~^~~~~~~~~~~~~~ main.cpp: In function 'int lca(int, int)': main.cpp:30:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 30 | if(is_ancestor(x,y)); | ^~ main.cpp:31:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 31 | return x; | ^~~~~~ main.cpp:32:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 32 | if(is_ancestor(y,x)); | ^~ main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 33 | return y; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbIncorect00
20ms184kbIncorect00
35ms3723kbIncorect00
483ms9560kbIncorect00
5120ms13660kbIncorect00
6150ms14315kbIncorect00
7306ms24317kbIncorect00
8496ms21524kbIncorect00
9614ms24014kbIncorect0
10670ms25190kbIncorect0
Punctaj total0

Ceva nu functioneaza?