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
Inserted VE345 with key tuple -7 -5 4 Min of dim 2 is VE281 Min of dim 1 is VE345 Key 5 -1 -1 not found when erasing! Max of dim 1 is VE281 Inserted VE429 with key tuple -2 9 -2 Min of dim 0 is VE345 Key 0 0 -3 not found when erasing! Key 4 -3 6 not found! Key -4 -2 0 not found! Inserted VE482 with key tuple -3 4 -8 Traversing the tree after assignment operator: VE345 VE281 VE482 VE429 VE370 VE482 Key 0 5 1 not found when erasing! Inserted VE510 with key tuple -4 -8 -10 Key 5 -3 -7 not found! Key 6 -2 7 not found when erasing! Inserted VE427 with key tuple 0 -4 -4 Key 9 -5 -6 not found when erasing! Key -6 -8 -10 not found! Key -5 2 3 not found! Max of dim 2 is VE345 Traversing the tree after assignment operator: VE510 VE427 VE345 VE281 VE482 VE429 VE370 VE482 Min of dim 2 is VE510 Key -6 7 -3 not found when erasing! Key -6 6 6 not found! Key 8 -4 -10 not found! Max of dim 0 is VE482 Inserted VE298 with key tuple -6 9 8 Traversing the tree after assignment operator: VE510 VE427 VE345 VE281 VE482 VE429 VE298 V
JOJ Answer
Inserted VE345 with key tuple -7 -5 4 Min of dim 2 is VE281 Min of dim 1 is VE345 Key 5 -1 -1 not found when erasing! Max of dim 1 is VE281 Inserted VE429 with key tuple -2 9 -2 Min of dim 0 is VE345 Key 0 0 -3 not found when erasing! Key 4 -3 6 not found! Key -4 -2 0 not found! Inserted VE482 with key tuple -3 4 -8 Traversing the tree after assignment operator: VE345 VE281 VE482 VE429 VE370 VE482 Key 0 5 1 not found when erasing! Inserted VE510 with key tuple -4 -8 -10 Key 5 -3 -7 not found! Key 6 -2 7 not found when erasing! Inserted VE427 with key tuple 0 -4 -4 Key 9 -5 -6 not found when erasing! Key -6 -8 -10 not found! Key -5 2 3 not found! Max of dim 2 is VE345 Traversing the tree after assignment operator: VE510 VE345 VE281 VE482 VE429 VE370 VE427 VE482 Min of dim 2 is VE510 Key -6 7 -3 not found when erasing! Key -6 6 6 not found! Key 8 -4 -10 not found! Max of dim 0 is VE482 Inserted VE298 with key tuple -6 9 8 Traversing the tree after assignment operator: VE510 VE345 VE281 VE482 VE429 VE298 VE370 V