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 VE495 with key tuple -8 -1 0 Min of dim 2 is VE495 Traversing the tree after assignment operator: VE495 VE281 VE370 VE482 Key 0 -8 1 not found! Inserted VE328 with key tuple -9 -2 0 Min of dim 0 is VE328 Min of dim 1 is VE328 Min of dim 1 is VE328 Min of dim 2 is VE495 Traversing the tree after assignment operator: VE495 VE328 VE281 VE370 VE482 Traversing the tree after assignment operator: VE495 VE328 VE281 VE370 VE482 Key 9 7 -1 not found! Traversing the tree after assignment operator: VE495 VE328 VE281 VE370 VE482 Inserted VE287 with key tuple -5 3 -8 Inserted VE340 with key tuple -6 -8 -2 Inserted VE419 with key tuple -10 8 -9 Inserted VE432 with key tuple 8 -3 -3 Key 4 -2 0 not found! Min of dim 1 is VE340 Min of dim 1 is VE340 Inserted VE285 with key tuple -1 9 4 Key -9 1 -5 not found when erasing! Max of dim 2 is VE482 Inserted VE366 with key tuple 1 8 8 Key -10 2 -9 not found! Min of dim 1 is VE340 Key -6 9 -3 not found when erasing! Traversing the tree after assignment operator: VE340 VE495
JOJ Answer
Inserted VE495 with key tuple -8 -1 0 Min of dim 2 is VE495 Traversing the tree after assignment operator: VE495 VE281 VE370 VE482 Key 0 -8 1 not found! Inserted VE328 with key tuple -9 -2 0 Min of dim 0 is VE328 Min of dim 1 is VE328 Min of dim 1 is VE328 Min of dim 2 is VE495 Traversing the tree after assignment operator: VE495 VE328 VE281 VE370 VE482 Traversing the tree after assignment operator: VE495 VE328 VE281 VE370 VE482 Key 9 7 -1 not found! Traversing the tree after assignment operator: VE495 VE328 VE281 VE370 VE482 Inserted VE287 with key tuple -5 3 -8 Inserted VE340 with key tuple -6 -8 -2 Inserted VE419 with key tuple -10 8 -9 Inserted VE432 with key tuple 8 -3 -3 Key 4 -2 0 not found! Min of dim 1 is VE340 Min of dim 1 is VE340 Inserted VE285 with key tuple -1 9 4 Key -9 1 -5 not found when erasing! Max of dim 2 is VE285 Inserted VE366 with key tuple 1 8 8 Key -10 2 -9 not found! Min of dim 1 is VE340 Key -6 9 -3 not found when erasing! Traversing the tree after assignment operator: VE340 VE495