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
Min of dim 0 is VE281 Key -4 6 0 not found when erasing! Inserted VE141 with key tuple 2 7 8 Inserted VE576 with key tuple -3 3 9 Key 3 1 1 not found when erasing! Min of dim 0 is VE576 Key 8 6 1 not found when erasing! Max of dim 2 is VE576 Key 7 -5 4 not found! Min of dim 2 is VE281 Max of dim 1 is VE141 Min of dim 0 is VE576 Traversing the tree after assignment operator: VE281 VE576 VE370 VE482 VE141 Inserted VE265 with key tuple 4 -6 10 Max of dim 2 is VE265 Traversing the tree after assignment operator: VE281 VE576 VE370 VE265 VE482 VE141 Max of dim 1 is VE141 Inserted VE512 with key tuple -5 10 -3 Min of dim 2 is VE512 Traversing the tree after assignment operator: VE281 VE512 VE576 VE370 VE265 VE482 VE141 Inserted VE139 with key tuple 3 8 -10 Min of dim 2 is VE139 Min of dim 2 is VE139 Erased key -3 3 9 Inserted VE175 with key tuple -4 10 -7 Min of dim 2 is VE139 Min of dim 2 is VE139 Max of dim 2 is VE265 Value found: VE141 with key 2 7 8 Inserted VE158 with key tuple 0 5 -1 Max of dim 0 is VE265 Min
JOJ Answer
Min of dim 0 is VE281 Key -4 6 0 not found when erasing! Inserted VE141 with key tuple 2 7 8 Inserted VE576 with key tuple -3 3 9 Key 3 1 1 not found when erasing! Min of dim 0 is VE576 Key 8 6 1 not found when erasing! Max of dim 2 is VE576 Key 7 -5 4 not found! Min of dim 2 is VE281 Max of dim 1 is VE141 Min of dim 0 is VE576 Traversing the tree after assignment operator: VE281 VE576 VE370 VE482 VE141 Inserted VE265 with key tuple 4 -6 10 Max of dim 2 is VE265 Traversing the tree after assignment operator: VE281 VE576 VE370 VE265 VE482 VE141 Max of dim 1 is VE141 Inserted VE512 with key tuple -5 10 -3 Min of dim 2 is VE512 Traversing the tree after assignment operator: VE281 VE512 VE576 VE370 VE265 VE482 VE141 Inserted VE139 with key tuple 3 8 -10 Min of dim 2 is VE139 Min of dim 2 is VE139 Erased key -3 3 9 Inserted VE175 with key tuple -4 10 -7 Min of dim 2 is VE139 Min of dim 2 is VE139 Max of dim 2 is VE265 Value found: VE141 with key 2 7 8 Inserted VE158 w