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, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
(0, 0, 0)VE280(0, 0, 0)VE370(-1, 2, 0)VE281(1, -1, 0)VE482Min of dim 0 is VE281 Min of dim 0 is VE281 Min of dim 1 is VE482 Min of dim 0 is VE281 Max of dim 0 is VE482 Inserted VE545 with key tuple 5 8 2 Inserted VE578 with key tuple -4 1 4 Min of dim 2 is VE281 Traversing the tree after assignment operator: VE578 VE281 VE370 VE482 VE545 Max of dim 0 is VE545 Inserted VE546 with key tuple -1 6 -8 Max of dim 2 is VE578 Inserted VE410 with key tuple 4 2 -1 Min of dim 1 is VE482 Key -8 4 0 not found when erasing! Value found: VE546 with key -1 6 -8 Key -4 6 3 not found! Min of dim 1 is VE482 Min of dim 1 is VE482 Max of dim 0 is VE545 Max of dim 1 is VE545 Key 2 -8 7 not found! Min of dim 1 is VE482 Min of dim 2 is VE546 Value found: VE545 with key 5 8 2 Min of dim 2 is VE546 Inserted VE554 with key tuple -7 -9 -8 Min of dim 0 is VE554 Max of dim 1 is VE545 Max of dim 0 is VE545 Min of dim 1 is VE554 Max of dim 1 is VE545 Value found: VE410 with key 4 2 -1 Min of dim 2 is VE554 Inserted VE190 with key tuple -8 0
JOJ Answer
Min of dim 0 is VE281 Min of dim 0 is VE281 Min of dim 1 is VE482 Min of dim 0 is VE281 Max of dim 0 is VE482 Inserted VE545 with key tuple 5 8 2 Inserted VE578 with key tuple -4 1 4 Min of dim 2 is VE281 Traversing the tree after assignment operator: VE578 VE281 VE370 VE482 VE545 Max of dim 0 is VE545 Inserted VE546 with key tuple -1 6 -8 Max of dim 2 is VE578 Inserted VE410 with key tuple 4 2 -1 Min of dim 1 is VE482 Key -8 4 0 not found when erasing! Value found: VE546 with key -1 6 -8 Key -4 6 3 not found! Min of dim 1 is VE482 Min of dim 1 is VE482 Max of dim 0 is VE545 Max of dim 1 is VE545 Key 2 -8 7 not found! Min of dim 1 is VE482 Min of dim 2 is VE546 Value found: VE545 with key 5 8 2 Min of dim 2 is VE546 Inserted VE554 with key tuple -7 -9 -8 Min of dim 0 is VE554 Max of dim 1 is VE545 Max of dim 0 is VE545 Min of dim 1 is VE554 Max of dim 1 is VE545 Value found: VE410 with key 4 2 -1 Min of dim 2 is VE554 Inserted VE190 with key tuple -8 0 1 Min of dim 0 is