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, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Min of dim 2 is VE281 Min of dim 2 is VE281 Max of dim 1 is VE281 Min of dim 1 is VE482 Max of dim 0 is VE482 Min of dim 0 is VE281 Max of dim 2 is VE482 Inserted VE218 with key tuple 0 7 -2 Max of dim 1 is VE218 Min of dim 1 is VE482 Inserted VE451 with key tuple -5 -1 3 Min of dim 1 is VE451 Min of dim 2 is VE218 Min of dim 1 is VE451 Min of dim 1 is VE451 Max of dim 1 is VE218 Key -3 10 1 not found when erasing! Inserted VE542 with key tuple -1 0 -9 Min of dim 1 is VE451 Key -5 -1 3 not found when erasing! Inserted VE484 with key tuple -5 6 -10 Min of dim 1 is VE482 Key -9 -9 -2 not found when erasing! Value found: VE370 with key 0 0 0 Max of dim 1 is VE218 Max of dim 0 is VE482 Inserted VE221 with key tuple -7 7 8 Min of dim 2 is VE484 Max of dim 0 is VE482 Max of dim 1 is VE218 Max of dim 2 is VE221 Max of dim 1 is VE218 Traversing the tree after assignment operator: VE542 VE542 VE281 VE484 VE221 VE000 VE482 VE218 Inserted VE302 with key tuple 2 10 2 Min of dim 1 is VE482 Max of dim 1 is VE302 Min of dim
JOJ Answer
Min of dim 2 is VE281 Min of dim 2 is VE281 Max of dim 1 is VE281 Min of dim 1 is VE482 Max of dim 0 is VE482 Min of dim 0 is VE281 Max of dim 2 is VE482 Inserted VE218 with key tuple 0 7 -2 Max of dim 1 is VE218 Min of dim 1 is VE482 Inserted VE451 with key tuple -5 -1 3 Min of dim 1 is VE451 Min of dim 2 is VE218 Min of dim 1 is VE451 Min of dim 1 is VE451 Max of dim 1 is VE218 Key -3 10 1 not found when erasing! Inserted VE542 with key tuple -1 0 -9 Min of dim 1 is VE451 Erased key -5 -1 3 Inserted VE484 with key tuple -5 6 -10 Min of dim 1 is VE482 Key -9 -9 -2 not found when erasing! Value found: VE370 with key 0 0 0 Max of dim 1 is VE218 Max of dim 0 is VE482 Inserted VE221 with key tuple -7 7 8 Min of dim 2 is VE484 Max of dim 0 is VE482 Max of dim 1 is VE218 Max of dim 2 is VE221 Max of dim 1 is VE218 Traversing the tree after assignment operator: VE542 VE281 VE484 VE221 VE370 VE482 VE218 Inserted VE302 with key tuple 2 10 2 Min of dim 1 is VE482 Max of dim 1