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 Runtime Error. And the exit code of your program is -6, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
Key 1 1 -4 not found! Inserted VE446 with key tuple -4 -5 0 Max of dim 0 is VE482 Key -2 4 -9 not found! Inserted VE514 with key tuple 4 -9 -2 Inserted VE298 with key tuple 6 -5 -6 Inserted VE548 with key tuple 0 -1 -10 Key -5 2 -4 not found when erasing! Inserted VE539 with key tuple -3 -9 7 Key 7 9 9 not found! Key 9 3 -5 not found when erasing! Key -1 5 4 not found! Key 6 7 4 not found! Key -3 1 2 not found! Key 2 -2 3 not found! Key -6 -10 -4 not found when erasing! Inserted VE591 with key tuple -4 -10 0 Inserted VE523 with key tuple -1 -2 3 Key 6 -2 -5 not found! Max of dim 0 is VE298 Key 2 4 -10 not found when erasing! Max of dim 2 is VE539 Inserted VE455 with key tuple -5 -4 -9 Min of dim 1 is VE591 Min of dim 1 is VE591 Key 7 3 7 not found! Traversing the tree after assignment operator: VE455 VE446 VE591 VE539 VE523 VE281 VE370 VE298 VE514 VE482 VE548 Key 9 9 -1 not found! Key 5 -2 6 not found! Key 3 5 -7 not found when erasing! Key 9 -3 2 not found! Key -5 7 -7 not found! Inserted VE518 with key tupl