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 -11, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
FIND Key -2 -9 0 not found! INSERT Inserted VE565 with key tuple -10 -1 -8 FIND Key -10 -3 5 not found! FIND Key -4 -1 -8 not found! INSERT Inserted VE455 with key tuple -6 1 -3 ERASE Key -5 4 -8 not found when erasing! IT FINDMAX Max of dim 2 is VE482 FIND Key -3 -1 3 not found! IT FINDMIN Min of dim 0 is VE565 INSERT Inserted VE461 with key tuple 9 -6 3 INSERT Inserted VE377 with key tuple -9 -1 -7 INSERT Inserted VE434 with key tuple -6 -5 3 INSERT Traversing the tree after assignment operator: VE461 IT FINDMIN Min of dim 0 is VE565 ERASE Key -5 2 -4 not found when erasing! IT FINDMAX Max of dim 1 is VE281 INSERT Inserted VE330 with key tuple 3 7 7 FIND Key 7 -7 -2 not found! IT FINDMIN Min of dim 0 is VE565 FIND Key -1 -3 7 not found! ERASE Key -5 1 9 not found when erasing! INSERT Inserted VE588 with key tuple 8 -4 -1 ERASE Key -9 -8 5 not found when erasing! ERASE Key -4 -6 0 not found when erasing! IT FINDMIN Min of dim 0 is VE565 FIND Key -5 5 -7 not found! IT FINDMAX Max of dim 0 is VE461 IT FINDMIN
JOJ Answer
Key -2 -9 0 not found! Inserted VE565 with key tuple -10 -1 -8 Key -10 -3 5 not found! Key -4 -1 -8 not found! Inserted VE455 with key tuple -6 1 -3 Key -5 4 -8 not found when erasing! Max of dim 2 is VE482 Key -3 -1 3 not found! Min of dim 0 is VE565 Inserted VE461 with key tuple 9 -6 3 Inserted VE377 with key tuple -9 -1 -7 Inserted VE434 with key tuple -6 -5 3 Traversing the tree after assignment operator: VE565 VE377 VE455 VE434 VE281 VE370 VE461 VE482 Min of dim 0 is VE565 Key -5 2 -4 not found when erasing! Max of dim 1 is VE281 Inserted VE330 with key tuple 3 7 7 Key 7 -7 -2 not found! Min of dim 0 is VE565 Key -1 -3 7 not found! Key -5 1 9 not found when erasing! Inserted VE588 with key tuple 8 -4 -1 Key -9 -8 5 not found when erasing! Key -4 -6 0 not found when erasing! Min of dim 0 is VE565 Key -5 5 -7 not found! Max of dim 0 is VE461 Min of dim 1 is VE461 Key 3 8 -7 not found! Inserted VE576 with key tuple -9 5 7 Inserted VE438 with key tuple -4 -5 -7 Key 1 -8 -6 not found! Inserted VE535 with key