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 -11, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Key 6 8 5 not found! Max not found! Max not found! Inserted VE535 with key tuple -5 -10 7 Traversing the tree after assignment operator: Traversing the tree after assignment operator: Min of dim 2 is VE535 Inserted VE443 with key tuple 1 -8 6 Key -3 6 -9 not found! Min of dim 2 is VE443 Key 1 2 2 not found! Inserted VE597 with key tuple 7 6 0 Key 4 -5 6 not found when erasing! Inserted VE394 with key tuple 2 2 -3 Key 4 5 8 not found! Key -5 6 3 not found! Key -8 8 4 not found! Key -8 8 6 not found! Max of dim 0 is VE597 Traversing the tree after assignment operator: Inserted VE476 with key tuple -9 1 -10 Key -8 -6 0 not found! Key -8 4 2 not found when erasing! Key 7 5 -7 not found! Traversing the tree after assignment operator: Key -1 -8 9 not found when erasing! Traversing the tree after assignment operator: Inserted VE542 with key tuple -5 5 -8 Inserted VE324 with key tuple -10 2 9 Min of dim 0 is VE324 Traversing the tree after assignment operator: Key -10 3 7 not found when erasing! Min of dim 2 is VE000
JOJ Answer
Key 6 8 5 not found! Max of dim 2 is VE482 Max of dim 2 is VE482 Inserted VE535 with key tuple -5 -10 7 Traversing the tree after assignment operator: VE535 VE281 VE370 VE482 Traversing the tree after assignment operator: VE535 VE281 VE370 VE482 Min of dim 2 is VE281 Inserted VE443 with key tuple 1 -8 6 Key -3 6 -9 not found! Min of dim 2 is VE281 Key 1 2 2 not found! Inserted VE597 with key tuple 7 6 0 Key 4 -5 6 not found when erasing! Inserted VE394 with key tuple 2 2 -3 Key 4 5 8 not found! Key -5 6 3 not found! Key -8 8 4 not found! Key -8 8 6 not found! Max of dim 0 is VE597 Traversing the tree after assignment operator: VE535 VE281 VE370 VE443 VE482 VE394 VE597 Inserted VE476 with key tuple -9 1 -10 Key -8 -6 0 not found! Key -8 4 2 not found when erasing! Key 7 5 -7 not found! Traversing the tree after assignment operator: VE476 VE535 VE281 VE370 VE443 VE482 VE394 VE597 Key -1 -8 9 not found when erasing! Traversing the tree after assignment operator: VE476 VE535 VE281 VE370 VE443 VE482 VE394 VE597 In