Borderou de evaluare (job #2285722)

Utilizator SqueekDanielTodasca Daniel SqueekDaniel Data 18 noiembrie 2018 23:55:37
Problema Razboiul lumilor Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In instantiation of 'void UnrootedTree<NNodes>::DFSDown(int, int) [with int NNodes = 16005]': main.cpp:114:18: required from here main.cpp:22:14: warning: variable 'IsLeaf' set but not used [-Wunused-but-set-variable] bool IsLeaf = 1; ^~~~~~ main.cpp: In function 'void Rezolvare()': main.cpp:62:69: warning: 'IndexMax1' may be used uninitialized in this function [-Wmaybe-uninitialized] if (Node[Edge.Index].MaxDistDown + Edge.Len > SecondMax && Edge.Index != IndexMax1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:52:13: note: 'IndexMax1' was declared here int IndexMax1; ^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1171ms1703kbIncorect0
Punctaj total0

Ceva nu functioneaza?