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
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 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290 VE290
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