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
Inserted VE377 with key tuple 0 -8 4 Key -2 0 6 not found when erasing! Key -10 0 6 not found! Inserted VE501 with key tuple 7 1 5 Key -10 5 0 not found! Inserted VE372 with key tuple -1 7 7 Traversing the tree after assignment operator: VE281 VE280 VE372 VE370 VE377 VE482 VE501 Traversing the tree after assignment operator: VE281 VE280 VE372 VE370 VE377 VE482 VE501 Inserted VE292 with key tuple -6 9 2 Max of dim 1 is VE292 Traversing the tree after assignment operator: VE281 VE280 VE292 VE372 VE370 VE377 VE482 VE501 Traversing the tree after assignment operator: VE281 VE280 VE292 VE372 VE370 VE377 VE482 VE501 Key 1 1 -10 not found when erasing! Key -5 -3 0 not found! Min of dim 0 is VE292 Max of dim 1 is VE292 Max of dim 2 is VE372 Key 3 -7 -8 not found! Key -1 3 0 not found when erasing! Key 4 1 -5 not found! Key -6 -7 -4 not found when erasing! Key -10 -2 5 not found when erasing! Inserted VE500 with key tuple -7 -2 1 Inserted VE512 with key tuple 7 -3 -8 Key 5 -5 -4 not found! Key 6 1 -2 not found! Min of
JOJ Answer
Inserted VE377 with key tuple 0 -8 4 Key -2 0 6 not found when erasing! Key -10 0 6 not found! Inserted VE501 with key tuple 7 1 5 Key -10 5 0 not found! Inserted VE372 with key tuple -1 7 7 Traversing the tree after assignment operator: VE281 VE372 VE370 VE377 VE482 VE501 Traversing the tree after assignment operator: VE281 VE372 VE370 VE377 VE482 VE501 Inserted VE292 with key tuple -6 9 2 Max of dim 1 is VE292 Traversing the tree after assignment operator: VE281 VE292 VE372 VE370 VE377 VE482 VE501 Traversing the tree after assignment operator: VE281 VE292 VE372 VE370 VE377 VE482 VE501 Key 1 1 -10 not found when erasing! Key -5 -3 0 not found! Min of dim 0 is VE292 Max of dim 1 is VE292 Max of dim 2 is VE372 Key 3 -7 -8 not found! Key -1 3 0 not found when erasing! Key 4 1 -5 not found! Key -6 -7 -4 not found when erasing! Key -10 -2 5 not found when erasing! Inserted VE500 with key tuple -7 -2 1 Inserted VE512 with key tuple 7 -3 -8 Key 5 -5 -4 not found! Key 6 1 -2 not found! Min of dim 0 is VE500 Inserted