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 VE341 with key tuple 0 8 -8 left right Inserted VE571 with key tuple -2 8 5 Min of dim 1 is VE482 right right right Inserted VE364 with key tuple 4 9 -7 left left Inserted VE345 with key tuple -5 1 -1 Max of dim 0 is VE364 right right left Inserted VE509 with key tuple 9 7 -9 Max of dim 2 is VE571 Max of dim 0 is VE509 Max of dim 2 is VE571 Key -1 0 4 not found! right right right right Inserted VE428 with key tuple 7 5 -2 Key 2 -3 2 not found when erasing! right right right right right Inserted VE549 with key tuple 7 8 7 Max of dim 0 is VE509 left left right Inserted VE388 with key tuple -7 -7 7 Key 3 1 -8 not found! Key -10 9 2 not found when erasing! Max of dim 2 is VE549 Key 7 -5 8 not found when erasing! Max of dim 2 is VE549 left left left Inserted VE351 with key tuple -7 -6 -6 Key -7 8 -6 not found when erasing! Key 0 -9 9 not found! Key 1 -9 2 not found when erasing! Key 7 -6 -1 not found when erasing! Key -1 -7 2 not found! Key -4 -9 -2 not found when erasing! Key 2 -2 -6 not foun
JOJ Answer
Inserted VE341 with key tuple 0 8 -8 Inserted VE571 with key tuple -2 8 5 Min of dim 1 is VE482 Inserted VE364 with key tuple 4 9 -7 Inserted VE345 with key tuple -5 1 -1 Max of dim 0 is VE364 Inserted VE509 with key tuple 9 7 -9 Max of dim 2 is VE571 Max of dim 0 is VE509 Max of dim 2 is VE571 Key -1 0 4 not found! Inserted VE428 with key tuple 7 5 -2 Key 2 -3 2 not found when erasing! Inserted VE549 with key tuple 7 8 7 Max of dim 0 is VE509 Inserted VE388 with key tuple -7 -7 7 Key 3 1 -8 not found! Key -10 9 2 not found when erasing! Max of dim 2 is VE549 Key 7 -5 8 not found when erasing! Max of dim 2 is VE549 Inserted VE351 with key tuple -7 -6 -6 Key -7 8 -6 not found when erasing! Key 0 -9 9 not found! Key 1 -9 2 not found when erasing! Key 7 -6 -1 not found when erasing! Key -1 -7 2 not found! Key -4 -9 -2 not found when erasing! Key 2 -2 -6 not found when erasing! Inserted VE492 with key tuple 2 2 -5 Key 5 -9 -4 not found! Inserted VE484 with key tuple 5 -10 -9 Min of dim 0 is VE388 Max of dim 2 is