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
Key -4 -5 -6 not found when erasing! Max of dim 2 is VE482 Min of dim 2 is VE281 Inserted VE310 with key tuple 7 -8 -7 Key 9 5 -1 not found! Inserted VE327 with key tuple 7 -7 5 Key 9 9 3 not found when erasing! Max of dim 2 is VE482 Key -5 9 3 not found! Inserted VE321 with key tuple -2 -1 -3 Max of dim 0 is VE482 Inserted VE470 with key tuple 8 -6 -7 Key 9 4 4 not found! Min of dim 0 is VE281 Inserted VE389 with key tuple -1 4 -8 Max of dim 0 is VE482 Inserted VE340 with key tuple -8 6 -9 Inserted VE594 with key tuple 0 7 6 Min of dim 2 is VE281 Min of dim 1 is VE482 Min of dim 0 is VE281 Min of dim 1 is VE482 Inserted VE375 with key tuple 3 7 0 Key 8 -7 8 not found! Key -10 5 0 not found! Key -7 9 -3 not found when erasing! Key -8 8 -3 not found when erasing! Min of dim 1 is VE482 Traversing the tree after assignment operator: VE281 VE370 VE482 Key 2 -1 -3 not found! Key -5 2 5 not found when erasing! Key -7 -4 -10 not found! Min of dim 2 is VE281 Min of dim 0 is VE281 Key 9 -1 -1 not found! Traversing the
JOJ Answer
Key -4 -5 -6 not found when erasing! Max of dim 2 is VE482 Min of dim 2 is VE281 Inserted VE310 with key tuple 7 -8 -7 Key 9 5 -1 not found! Inserted VE327 with key tuple 7 -7 5 Key 9 9 3 not found when erasing! Max of dim 2 is VE327 Key -5 9 3 not found! Inserted VE321 with key tuple -2 -1 -3 Max of dim 0 is VE327 Inserted VE470 with key tuple 8 -6 -7 Key 9 4 4 not found! Min of dim 0 is VE321 Inserted VE389 with key tuple -1 4 -8 Max of dim 0 is VE470 Inserted VE340 with key tuple -8 6 -9 Inserted VE594 with key tuple 0 7 6 Min of dim 2 is VE340 Min of dim 1 is VE310 Min of dim 0 is VE340 Min of dim 1 is VE310 Inserted VE375 with key tuple 3 7 0 Key 8 -7 8 not found! Key -10 5 0 not found! Key -7 9 -3 not found when erasing! Key -8 8 -3 not found when erasing! Min of dim 1 is VE310 Traversing the tree after assignment operator: VE321 VE281 VE340 VE389 VE370 VE310 VE327 VE470 VE482 VE375 VE594 Key 2 -1 -3 not found! Key -5 2 5 not found when erasing! Key -7 -4 -10 not found! Min of dim 2 is VE340 Min of dim