Borderou de evaluare (job #3126531)

Utilizator bivol_mihaiBivol Mihai bivol_mihai Data 6 mai 2023 18:27:38
Problema Arbori binari de cautare echilibrati Status done
Runda arhiva-test Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In constructor 'Node::Node(long int)': main.cpp:13:23: warning: 'Node::black' will be initialized after [-Wreorder] 13 | bool isLeftChild, black; | ^~~~~ main.cpp:13:10: warning: 'bool Node::isLeftChild' [-Wreorder] 13 | bool isLeftChild, black; | ^~~~~~~~~~~ main.cpp:15:5: warning: when initialized here [-Wreorder] 15 | Node(long fc_value): value(fc_value), left(NULL), right(NULL), parent(NULL), black(false), isLeftChild(false){}; | ^~~~ main.cpp: In constructor 'Node::Node()': main.cpp:13:23: warning: 'Node::black' will be initialized after [-Wreorder] 13 | bool isLeftChild, black; | ^~~~~ main.cpp:13:10: warning: 'bool Node::isLeftChild' [-Wreorder] 13 | bool isLeftChild, black; | ^~~~~~~~~~~ main.cpp:16:5: warning: when initialized here [-Wreorder] 16 | Node(): value(10000000000), left(NULL), right(NULL), parent(NULL), black(false), isLeftChild(false){}; | ^~~~ main.cpp: In member function 'void RedBlackTree::checkColor(Node*)': main.cpp:259:10: warning: unused variable 'black' [-Wunused-variable] 259 | long black = blackNodes(node); // verify if there are the same number of black nodes on each side. | ^~~~~ main.cpp: In member function 'Node* RedBlackTree::succesor(Node*)': main.cpp:482:1: warning: control reaches end of non-void function [-Wreturn-type] 482 | } | ^ main.cpp: In member function 'Node* RedBlackTree::predecessor(Node*)': main.cpp:521:1: warning: control reaches end of non-void function [-Wreturn-type] 521 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1203ms303kbTime limit exceeded0
2203ms303kbTime limit exceeded0
3114ms303kbIncorect0
4203ms303kbTime limit exceeded0
5203ms303kbTime limit exceeded0
659ms303kbIncorect0
7174ms303kbIncorect0
8203ms303kbTime limit exceeded0
9114ms303kbIncorect0
10168ms303kbIncorect0
1189ms303kbIncorect0
12193ms303kbIncorect0
13203ms303kbTime limit exceeded0
14203ms303kbTime limit exceeded0
15189ms303kbIncorect0
16114ms303kbIncorect0
1769ms303kbIncorect0
18124ms303kbIncorect0
19198ms303kbIncorect0
20203ms303kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?