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 2 7 7 not found! Inserted VE466 with key tuple -9 -5 7 Inserted VE356 with key tuple -10 -10 -10 Key -2 3 -9 not found! Min of dim 2 is VE356 Inserted VE372 with key tuple -6 0 -1 Key 3 7 -1 not found! Key 4 -2 7 not found! Key 0 -10 5 not found when erasing! Key -5 -3 -7 not found! Key 7 4 2 not found when erasing! Inserted VE437 with key tuple 9 -7 -2 Key 2 -10 7 not found! Min of dim 1 is VE356 Key -8 -4 -4 not found when erasing! Inserted VE316 with key tuple -10 9 -5 Inserted VE514 with key tuple -8 -7 4 Inserted VE408 with key tuple -2 5 0 Key 2 -5 4 not found! Max of dim 1 is VE316 Traversing the tree after assignment operator: VE356 VE281 VE466 VE514 VE280 VE316 VE372 VE408 VE370 VE437 VE482 Min of dim 0 is VE356 Key -7 -6 7 not found! Inserted VE516 with key tuple -1 9 2 Max of dim 2 is VE466 Min of dim 2 is VE356 Inserted VE380 with key tuple 5 8 3 Inserted VE539 with key tuple -8 0 2 Key -4 -8 2 not found! Max of dim 1 is VE516 Inserted VE295 with key tuple -6 1 5 Inserted VE426 with key tuple
JOJ Answer
Key 2 7 7 not found! Inserted VE466 with key tuple -9 -5 7 Inserted VE356 with key tuple -10 -10 -10 Key -2 3 -9 not found! Min of dim 2 is VE356 Inserted VE372 with key tuple -6 0 -1 Key 3 7 -1 not found! Key 4 -2 7 not found! Key 0 -10 5 not found when erasing! Key -5 -3 -7 not found! Key 7 4 2 not found when erasing! Inserted VE437 with key tuple 9 -7 -2 Key 2 -10 7 not found! Min of dim 1 is VE356 Key -8 -4 -4 not found when erasing! Inserted VE316 with key tuple -10 9 -5 Inserted VE514 with key tuple -8 -7 4 Inserted VE408 with key tuple -2 5 0 Key 2 -5 4 not found! Max of dim 1 is VE316 Traversing the tree after assignment operator: VE356 VE514 VE372 VE466 VE281 VE316 VE408 VE370 VE437 VE482 Min of dim 0 is VE356 Key -7 -6 7 not found! Inserted VE516 with key tuple -1 9 2 Max of dim 2 is VE466 Min of dim 2 is VE356 Inserted VE380 with key tuple 5 8 3 Inserted VE539 with key tuple -8 0 2 Key -4 -8 2 not found! Max of dim 1 is VE516 Inserted VE295 with key tuple -6 1 5 Inserted VE426 with key tuple -6 -7