Fix merge.

This commit is contained in:
unlockable
2023-11-29 21:08:28 +08:00
parent c80ecf0045
commit b62f20d8eb

View File

@@ -84,7 +84,7 @@ int delete_node(int num, int pos) {
while (tree[child].left < NOTHING) { while (tree[child].left < NOTHING) {
parent = child; parent = child;
child = tree[child].left; child = tree[child].left;
// tree[parent].size--; tree[parent].size--;
} }
if (parent == pos) { if (parent == pos) {