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
IT FINDMIN Min of dim 1 is VE482 INSERT Inserted VE366 with key tuple -5 -8 -6 FIND Key -3 6 -9 not found! FIND Key -8 3 -3 not found! FIND Key -2 -3 8 not found! INSERT Traversing the tree after assignment operator: VE370 IT FINDMAX Max of dim 1 is VE370 ERASE Key 6 -5 1 not found when erasing! INSERT Traversing the tree after assignment operator: VE370 INSERT Inserted VE328 with key tuple 6 -7 -2 INSERT Traversing the tree after assignment operator: VE370 FIND Key 1 4 2 not found! IT FINDMAX Max of dim 2 is VE370 FIND Key -3 9 -9 not found! FIND Key -8 -6 1 not found! FIND Key 6 2 -5 not found! INSERT Inserted VE330 with key tuple -7 2 7 IT FINDMIN Min of dim 0 is VE330 INSERT Traversing the tree after assignment operator: VE370 FIND Key -10 -6 -10 not found! FIND Key 2 -1 -4 not found! FIND Key 3 -8 1 not found! IT FINDMIN Min of dim 1 is VE370 INSERT Inserted VE464 with key tuple -2 -3 2 FIND Key -2 1 7 not found! ERASE Key 0 4 1 not found when erasing! FIND Key 4 8 5 not found! INSERT Inserted VE287 with
JOJ Answer
Min of dim 1 is VE482 Inserted VE366 with key tuple -5 -8 -6 Key -3 6 -9 not found! Key -8 3 -3 not found! Key -2 -3 8 not found! Traversing the tree after assignment operator: VE366 VE281 VE370 VE482 Max of dim 1 is VE281 Key 6 -5 1 not found when erasing! Traversing the tree after assignment operator: VE366 VE281 VE370 VE482 Inserted VE328 with key tuple 6 -7 -2 Traversing the tree after assignment operator: VE366 VE281 VE370 VE328 VE482 Key 1 4 2 not found! Max of dim 2 is VE482 Key -3 9 -9 not found! Key -8 -6 1 not found! Key 6 2 -5 not found! Inserted VE330 with key tuple -7 2 7 Min of dim 0 is VE330 Traversing the tree after assignment operator: VE366 VE281 VE330 VE370 VE328 VE482 Key -10 -6 -10 not found! Key 2 -1 -4 not found! Key 3 -8 1 not found! Min of dim 1 is VE366 Inserted VE464 with key tuple -2 -3 2 Key -2 1 7 not found! Key 0 4 1 not found when erasing! Key 4 8 5 not found! Inserted VE287 with key tuple 0 -10 -5 Key -1 -2 -10 not found when erasing! Inserted VE468 with key tuple 1 -2 -2 Inse