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 Memory 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
Key 3 -5 -7 not found when erasing! Inserted VE330 with key tuple -10 0 7 Inserted VE411 with key tuple -5 -5 -10 Inserted VE288 with key tuple 2 -1 -8 Key -3 3 -4 not found when erasing! Inserted VE403 with key tuple 1 9 -9 Traversing the tree after assignment operator: Key -10 0 -3 not found when erasing! Inserted VE529 with key tuple 0 3 -6 Max of dim 2 is VE529
JOJ Answer
Key 3 -5 -7 not found when erasing! Inserted VE330 with key tuple -10 0 7 Inserted VE411 with key tuple -5 -5 -10 Inserted VE288 with key tuple 2 -1 -8 Key -3 3 -4 not found when erasing! Inserted VE403 with key tuple 1 9 -9 Traversing the tree after assignment operator: VE411 VE330 VE281 VE370 VE482 VE403 VE288 Key -10 0 -3 not found when erasing! Inserted VE529 with key tuple 0 3 -6 Max of dim 2 is VE330 Key -5 -3 -9 not found! Key 4 -6 -5 not found! Key 2 -4 -4 not found! Min of dim 1 is VE411 Inserted VE472 with key tuple 7 -2 -6 Min of dim 0 is VE330 Key -9 -3 2 not found when erasing! Inserted VE468 with key tuple -1 9 -5 Max of dim 1 is VE403 Inserted VE383 with key tuple 2 5 2 Key -6 -3 0 not found! Min of dim 0 is VE330 Key -4 5 -4 not found when erasing! Traversing the tree after assignment operator: VE411 VE330 VE281 VE468 VE370 VE472 VE482 VE403 VE288 VE529 VE383 Inserted VE494 with key tuple -10 7 3 Min of dim 1 is VE411 Inserted VE425 with key tuple -9 -1 -10 Key 5 -6 8 not found when erasing! K