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
right right Inserted VE289 with key tuple 5 0 -3 right right left Inserted VE517 with key tuple 4 8 -8 Key -7 -7 -8 not found! left left Inserted VE415 with key tuple -2 -1 -3 left right Inserted VE518 with key tuple -10 8 8 right left Inserted VE396 with key tuple 6 -4 1 Max of dim 2 is VE518 Key 3 5 -2 not found when erasing! Min of dim 0 is VE518 right left left Inserted VE490 with key tuple 8 -3 -9 Key 5 2 8 not found when erasing! Key -9 6 -1 not found when erasing! Key -3 1 -1 not found! Key 3 -2 -6 not found! right left right Inserted VE391 with key tuple 7 -2 8 left left left Inserted VE444 with key tuple -6 -6 -9 left left right Inserted VE305 with key tuple -4 -6 7 left left right right Inserted VE409 with key tuple -4 2 6 Key 6 0 -9 not found! left left right left Inserted VE382 with key tuple -9 2 5 left left left right Inserted VE505 with key tuple -5 0 -5 Max of dim 1 is VE517 Min of dim 0 is VE518 right right left left Inserted VE415 with key tuple 3 9 -7 left left right right left Inserted VE5
JOJ Answer
Inserted VE289 with key tuple 5 0 -3 Inserted VE517 with key tuple 4 8 -8 Key -7 -7 -8 not found! Inserted VE415 with key tuple -2 -1 -3 Inserted VE518 with key tuple -10 8 8 Inserted VE396 with key tuple 6 -4 1 Max of dim 2 is VE518 Key 3 5 -2 not found when erasing! Min of dim 0 is VE518 Inserted VE490 with key tuple 8 -3 -9 Key 5 2 8 not found when erasing! Key -9 6 -1 not found when erasing! Key -3 1 -1 not found! Key 3 -2 -6 not found! Inserted VE391 with key tuple 7 -2 8 Inserted VE444 with key tuple -6 -6 -9 Inserted VE305 with key tuple -4 -6 7 Inserted VE409 with key tuple -4 2 6 Key 6 0 -9 not found! Inserted VE382 with key tuple -9 2 5 Inserted VE505 with key tuple -5 0 -5 Max of dim 1 is VE517 Min of dim 0 is VE518 Inserted VE415 with key tuple 3 9 -7 Inserted VE570 with key tuple -4 -2 8 Key 9 -4 0 not found when erasing! Inserted VE316 with key tuple -8 2 9 Traversing the tree after assignment operator: VE444 VE505 VE415 VE305 VE570 VE281 VE382 VE409 VE518 VE316 VE370 VE490 VE396 VE391 VE482 VE4