Borderou de evaluare (job #2569976)

Utilizator XXMihaiXX969Gherghinescu Mihai Andrei XXMihaiXX969 Data 4 martie 2020 14:31:34
Problema Diametrul unui arbore Status done
Runda r3capitusulare Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:17:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < l[x].size(); i++) ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:60:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 1; i <= n; i++) ^~~ main.cpp:62:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' viz[nod] = 1; ^~~ main.cpp:66:9: warning: variable 'nod2' set but not used [-Wunused-but-set-variable] int nod2; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
17ms2490kbOK10
27ms2490kbOK10
37ms2490kbOK10
48ms2621kbOK10
517ms2883kbOK10
649ms3932kbOK10
774ms4456kbOK10
8122ms5505kbOK10
994ms8781kbOK10
10163ms6422kbOK10
Punctaj total100

Ceva nu functioneaza?