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 Time 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
INSERT Inserted VE453 with key tuple 7 3 -1 FIND Key -5 8 -4 not found! INSERT Inserted VE398 with key tuple 0 8 2 IT FINDMIN Min of dim 1 is VE482 FIND Key 5 8 -4 not found! ERASE Key -7 3 2 not found when erasing! INSERT Inserted VE368 with key tuple 5 1 -9 ERASE Key -1 5 -4 not found when erasing! FIND Key -9 7 4 not found! IT FINDMIN Min of dim 0 is VE281 IT FINDMAX Max of dim 2 is VE398 IT FINDMIN Min of dim 2 is VE368 INSERT Inserted VE566 with key tuple -3 4 -5 INSERT Inserted VE334 with key tuple 4 -4 -5 INSERT Inserted VE424 with key tuple -9 -8 -10 IT FINDMIN Min of dim 0 is VE424 ERASE Key -6 -2 -7 not found when erasing! IT FINDMIN Min of dim 2 is VE424 ERASE Key 8 -1 -5 not found when erasing! IT FINDMAX Max of dim 0 is VE453 INSERT Inserted VE538 with key tuple -2 -3 1 INSERT Inserted VE562 with key tuple -1 -6 -8 INSERT Inserted VE290 with key tuple -7 -5 -9 IT FINDMAX Max of dim 1 is VE398 IT FINDMAX Max of dim 2 is VE398 IT FINDMAX Max of dim 2 is VE398 INSERT Traversing the tree after assign
JOJ Answer
Inserted VE453 with key tuple 7 3 -1 Key -5 8 -4 not found! Inserted VE398 with key tuple 0 8 2 Min of dim 1 is VE482 Key 5 8 -4 not found! Key -7 3 2 not found when erasing! Inserted VE368 with key tuple 5 1 -9 Key -1 5 -4 not found when erasing! Key -9 7 4 not found! Min of dim 0 is VE281 Max of dim 2 is VE398 Min of dim 2 is VE368 Inserted VE566 with key tuple -3 4 -5 Inserted VE334 with key tuple 4 -4 -5 Inserted VE424 with key tuple -9 -8 -10 Min of dim 0 is VE424 Key -6 -2 -7 not found when erasing! Min of dim 2 is VE424 Key 8 -1 -5 not found when erasing! Max of dim 0 is VE453 Inserted VE538 with key tuple -2 -3 1 Inserted VE562 with key tuple -1 -6 -8 Inserted VE290 with key tuple -7 -5 -9 Max of dim 1 is VE398 Max of dim 2 is VE398 Max of dim 2 is VE398 Traversing the tree after assignment operator: VE424 VE290 VE538 VE562 VE281 VE566 VE370 VE334 VE482 VE368 VE453 VE398 Key -4 -3 3 not found when erasing! Inserted VE312 with key tuple 0 0 -6 Min of dim 2 is VE424 Min of dim 1 is VE424 Inserted VE307