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
Key -1 -1 48 not found when erasing! Key 0 0 0 not found when erasing! Value found: VE370 with key 0 0 0 Max of dim 0 is VE482 Inserted VE483 with key tuple 0 0 0 Key -1 2 -4 not found! Inserted VE477 with key tuple -1 2 -4 Max of dim 0 is VE482 Value found: VE477 with key -1 2 -4 Key -1 2 -4 not found when erasing! Inserted VE481 with key tuple -1 2 -4 Max of dim 2 is VE482 Key -1 2 -4 not found when erasing! Inserted VE473 with key tuple 12 -3 5 Max of dim 0 is VE473 Max of dim 1 is VE281 Inserted VE427 with key tuple 3 92 -3 Max of dim 1 is VE427 Inserted VE475 with key tuple 12 -3 3 Traversing the tree: VE281 VE481 VE483 VE475 VE473 VE482 VE427
JOJ Answer
Key -1 -1 48 not found when erasing! Erased key 0 0 0 Key 0 0 0 not found! Max of dim 0 is VE482 Inserted VE483 with key tuple 0 0 0 Key -1 2 -4 not found! Inserted VE477 with key tuple -1 2 -4 Max of dim 0 is VE482 Value found: VE477 with key -1 2 -4 Erased key -1 2 -4 Inserted VE481 with key tuple -1 2 -4 Max of dim 2 is VE482 Erased key -1 2 -4 Inserted VE473 with key tuple 12 -3 5 Max of dim 0 is VE473 Max of dim 1 is VE281 Inserted VE427 with key tuple 3 92 -3 Max of dim 1 is VE427 Inserted VE475 with key tuple 12 -3 3 Traversing the tree: VE483 VE281 VE482 VE473 VE427 VE475