Borderou de evaluare (job #3122124)

Utilizator arobyRobert Acsente aroby Data 17 aprilie 2023 12:44:50
Problema Arbori binari de cautare echilibrati Status done
Runda arhiva-test Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Btree::splitChild(Node*, int)': main.cpp:68:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 68 | for (int i = t; i < 2 * t - 1; i++) | ~~^~~~~~~~~~~ main.cpp:74:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 74 | for (int i = t; i < 2 * t; i++) | ~~^~~~~~~ main.cpp: In member function 'void Btree::insert_not_full(Node*, long unsigned int)': main.cpp:87:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 87 | while (i >= 0 && k < node->keys[i]) main.cpp:96:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 96 | while (i >= 0 && k < node->keys[i]) main.cpp:101:19: warning: comparison of integer expressions of different signedness: 'long unsigned int' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare] 101 | if (k > node->keys[i + 1]) main.cpp: In member function 'void Btree::deleteKey(Node*, int)': main.cpp:191:17: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 191 | else if (i + 1 == node->children.size()) | ^ main.cpp: In member function 'int Btree::delete_predecessor(Node*)': main.cpp:236:23: warning: control reaches end of non-void function [-Wreturn-type] 236 | delete_predecessor(node->children[n]); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'int Btree::delete_successor(Node*)': main.cpp:250:21: warning: control reaches end of non-void function [-Wreturn-type] 250 | delete_successor(node->children[0]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Btree::delete_merge(Node*, int, int)': main.cpp:292:20: warning: 'new_node' may be used uninitialized [-Wmaybe-uninitialized] 292 | this->root = new_node; | ~~~~~~~~~~~^~~~~~~~~~ main.cpp:254:39: note: 'new_node' was declared here 254 | Node *child = node->children[i], *new_node; | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
111ms409kbKilled by Signal 110
210ms409kbKilled by Signal 110
39ms405kbKilled by Signal 110
410ms417kbKilled by Signal 110
53ms434kbKilled by Signal 110
69ms409kbKilled by Signal 110
79ms405kbKilled by Signal 110
83ms413kbKilled by Signal 110
99ms409kbKilled by Signal 110
109ms409kbKilled by Signal 110
110ms421kbKilled by Signal 110
120ms405kbKilled by Signal 110
130ms421kbKilled by Signal 110
140ms405kbKilled by Signal 110
150ms409kbKilled by Signal 110
160ms409kbKilled by Signal 110
170ms409kbKilled by Signal 110
180ms409kbKilled by Signal 110
190ms421kbKilled by Signal 110
200ms405kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?