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 -7 -9 4 not found! Inserted VE309 with key tuple 3 -4 -4 Max of dim 1 is VE281 Inserted VE399 with key tuple 9 -1 4 Key 5 -7 -2 not found! Min of dim 0 is VE281 Inserted VE547 with key tuple 3 5 5 Key -10 -6 -6 not found when erasing! Key 7 -7 6 not found when erasing! Key 9 -3 1 not found when erasing! Key 3 -4 8 not found when erasing! Inserted VE384 with key tuple 9 -10 -4 Key 0 -6 8 not found! Traversing the tree after assignment operator: VE281 VE370 VE309 VE384 VE482 VE399 VE547 Key -5 -7 -8 not found when erasing! Min of dim 0 is VE281 Min of dim 1 is VE384 Max of dim 1 is VE547 Max of dim 0 is VE399 Inserted VE378 with key tuple -7 -7 1 Traversing the tree after assignment operator: VE378 VE281 VE370 VE309 VE384 VE482 VE399 VE547 Inserted VE504 with key tuple -9 -6 5 Min of dim 1 is VE384 Inserted VE288 with key tuple -1 -3 2 Inserted VE488 with key tuple -8 5 9 Key 9 6 0 not found! Key 2 -4 7 not found! Inserted VE571 with key tuple -4 -3 -2 Max of dim 2 is VE488 Key -3 1 -1 not found when erasin
JOJ Answer
Key -7 -9 4 not found! Inserted VE309 with key tuple 3 -4 -4 Max of dim 1 is VE281 Inserted VE399 with key tuple 9 -1 4 Key 5 -7 -2 not found! Min of dim 0 is VE281 Inserted VE547 with key tuple 3 5 5 Key -10 -6 -6 not found when erasing! Key 7 -7 6 not found when erasing! Key 9 -3 1 not found when erasing! Key 3 -4 8 not found when erasing! Inserted VE384 with key tuple 9 -10 -4 Key 0 -6 8 not found! Traversing the tree after assignment operator: VE281 VE370 VE309 VE384 VE482 VE399 VE547 Key -5 -7 -8 not found when erasing! Min of dim 0 is VE281 Min of dim 1 is VE384 Max of dim 1 is VE547 Max of dim 0 is VE399 Inserted VE378 with key tuple -7 -7 1 Traversing the tree after assignment operator: VE378 VE281 VE370 VE309 VE384 VE482 VE399 VE547 Inserted VE504 with key tuple -9 -6 5 Min of dim 1 is VE384 Inserted VE288 with key tuple -1 -3 2 Inserted VE488 with key tuple -8 5 9 Key 9 6 0 not found! Key 2 -4 7 not found! Inserted VE571 with key tuple -4 -3 -2 Max of dim 2 is VE488 Key -3 1 -1 not found when erasin