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)VE482Key -10 -3 0 not found! Key 8 4 3 not found! Min of dim 0 is VE281 Max of dim 2 is VE482 Inserted VE461 with key tuple 10 -5 10 Key 2 -1 7 not found! Key 9 -9 -3 not found when erasing! Key 0 -7 2 not found! Inserted VE338 with key tuple 4 3 8 Max of dim 2 is VE461 Key -5 9 1 not found! Inserted VE460 with key tuple -7 -2 6 Value found: VE281 with key -1 2 0 Inserted VE400 with key tuple 5 2 -4 Key -5 -4 2 not found! Value found: VE338 with key 4 3 8 Inserted VE309 with key tuple 3 6 -9 Erased key 0 0 0 Min of dim 1 is VE461 Inserted VE505 with key tuple -1 -10 -1 Inserted VE278 with key tuple -6 10 -4 Inserted VE472 with key tuple 9 -7 -9 Erased key 9 -7 -9 Inserted VE598 with key tuple -10 1 1 Value found: VE338 with key 4 3 8 Value found: VE338 with key 4 3 8 Value found: VE482 with key 1 -1 0 Inserted VE505 with key tuple 8 2 2 Inserted VE238 with key tuple 9 -2 4 Inserted VE352 with key tuple 0 10 -5 Key 2 8 -6 not found! Traversing the tree after
JOJ Answer
Key -10 -3 0 not found! Key 8 4 3 not found! Min of dim 0 is VE281 Max of dim 2 is VE482 Inserted VE461 with key tuple 10 -5 10 Key 2 -1 7 not found! Key 9 -9 -3 not found when erasing! Key 0 -7 2 not found! Inserted VE338 with key tuple 4 3 8 Max of dim 2 is VE461 Key -5 9 1 not found! Inserted VE460 with key tuple -7 -2 6 Value found: VE281 with key -1 2 0 Inserted VE400 with key tuple 5 2 -4 Key -5 -4 2 not found! Value found: VE338 with key 4 3 8 Inserted VE309 with key tuple 3 6 -9 Erased key 0 0 0 Min of dim 1 is VE461 Inserted VE505 with key tuple -1 -10 -1 Inserted VE278 with key tuple -6 10 -4 Inserted VE472 with key tuple 9 -7 -9 Erased key 9 -7 -9 Inserted VE598 with key tuple -10 1 1 Value found: VE338 with key 4 3 8 Value found: VE338 with key 4 3 8 Value found: VE482 with key 1 -1 0 Inserted VE505 with key tuple 8 2 2 Inserted VE238 with key tuple 9 -2 4 Inserted VE352 with key tuple 0 10 -5 Key 2 8 -6 not found! Traversing the tree after assignment operator: VE59