Fix merge.
This commit is contained in:
@@ -84,7 +84,7 @@ int delete_node(int num, int pos) {
|
||||
while (tree[child].left < NOTHING) {
|
||||
parent = child;
|
||||
child = tree[child].left;
|
||||
// tree[parent].size--;
|
||||
tree[parent].size--;
|
||||
}
|
||||
|
||||
if (parent == pos) {
|
||||
|
||||
Reference in New Issue
Block a user