Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
left right Inserted VE341 with key tuple -8 6 6 Key -6 -9 2 not found! left right left Inserted VE473 with key tuple -7 8 -2 right right Inserted VE499 with key tuple 3 4 -9 right right right Inserted VE561 with key tuple 2 1 -8 right left Inserted VE369 with key tuple 1 -7 -3 Traversing the tree after assignment operator: VE281 VE473 VE341 VE370 VE369 VE482 VE499 VE561 Key 5 -8 -8 not found when erasing! Max of dim 1 is VE473 Max of dim 2 is VE341 Key -5 -10 3 not found! Key -10 -4 3 not found! Min of dim 2 is VE499 Key -1 -10 -1 not found! Key 9 6 -9 not found! Traversing the tree after assignment operator: VE281 VE473 VE341 VE370 VE369 VE482 VE499 VE561 Key 4 7 8 not found! Min of dim 2 is VE499 Key 3 -1 4 not found! left right left right Inserted VE502 with key tuple -4 9 5 right right right right Inserted VE364 with key tuple 5 7 -5 Max of dim 0 is VE364 left left Inserted VE430 with key tuple -8 -4 5 Max of dim 1 is VE502 Max of dim 2 is VE341 Key 8 -8 -7 not found! Traversing the tree after assignment
JOJ Answer
Inserted VE341 with key tuple -8 6 6 Key -6 -9 2 not found! Inserted VE473 with key tuple -7 8 -2 Inserted VE499 with key tuple 3 4 -9 Inserted VE561 with key tuple 2 1 -8 Inserted VE369 with key tuple 1 -7 -3 Traversing the tree after assignment operator: VE281 VE473 VE341 VE370 VE369 VE482 VE499 VE561 Key 5 -8 -8 not found when erasing! Max of dim 1 is VE473 Max of dim 2 is VE341 Key -5 -10 3 not found! Key -10 -4 3 not found! Min of dim 2 is VE499 Key -1 -10 -1 not found! Key 9 6 -9 not found! Traversing the tree after assignment operator: VE281 VE473 VE341 VE370 VE369 VE482 VE499 VE561 Key 4 7 8 not found! Min of dim 2 is VE499 Key 3 -1 4 not found! Inserted VE502 with key tuple -4 9 5 Inserted VE364 with key tuple 5 7 -5 Max of dim 0 is VE364 Inserted VE430 with key tuple -8 -4 5 Max of dim 1 is VE502 Max of dim 2 is VE341 Key 8 -8 -7 not found! Traversing the tree after assignment operator: VE430 VE281 VE473 VE502 VE341 VE370 VE369 VE482 VE499 VE561 VE364 Key -6 -3 -7 not found when erasing! Inserted VE