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 10 1 5 not found when erasing! Inserted VE146 with key tuple -5 1 -9 Erased key 0 0 0 Inserted VE412 with key tuple 4 -3 -8 Min of dim 2 is VE146 Erased key 4 -3 -8 Inserted VE589 with key tuple -1 -5 -2 Key -5 -1 -3 not found when erasing! Key 4 8 2 not found when erasing! Inserted VE382 with key tuple 0 2 2 Max of dim 2 is VE382 Inserted VE460 with key tuple -8 -5 -10 Min of dim 1 is VE460 Key 5 0 -7 not found when erasing! Max of dim 0 is VE482 Min of dim 2 is VE460 Min of dim 1 is VE460 Erased key 0 2 2 Erased key -1 2 0 Inserted VE226 with key tuple -3 -3 8 Key 9 9 -2 not found when erasing! Inserted VE123 with key tuple -1 -2 2 Erased key -3 -3 8 Erased key -8 -5 -10 Max of dim 1 is VE146 Key -5 1 -9 not found when erasing! Min of dim 2 is VE589 Inserted VE527 with key tuple -3 1 3 Inserted VE445 with key tuple -7 -9 -10 Inserted VE546 with key tuple -8 -8 -4 Erased key -1 -5 -2 Key -8 4 4 not found when erasing! Key -8 -8 -4 not found when erasing! Key -5 -1 -9 not found when erasing! Key -5 -2 -3
JOJ Answer
Key 10 1 5 not found when erasing! Inserted VE146 with key tuple -5 1 -9 Erased key 0 0 0 Inserted VE412 with key tuple 4 -3 -8 Min of dim 2 is VE146 Erased key 4 -3 -8 Inserted VE589 with key tuple -1 -5 -2 Key -5 -1 -3 not found when erasing! Key 4 8 2 not found when erasing! Inserted VE382 with key tuple 0 2 2 Max of dim 2 is VE382 Inserted VE460 with key tuple -8 -5 -10 Min of dim 1 is VE460 Key 5 0 -7 not found when erasing! Max of dim 0 is VE482 Min of dim 2 is VE460 Min of dim 1 is VE460 Erased key 0 2 2 Erased key -1 2 0 Inserted VE226 with key tuple -3 -3 8 Key 9 9 -2 not found when erasing! Inserted VE123 with key tuple -1 -2 2 Erased key -3 -3 8 Erased key -8 -5 -10 Max of dim 1 is VE146 Erased key -5 1 -9 Min of dim 2 is VE589 Inserted VE527 with key tuple -3 1 3 Inserted VE445 with key tuple -7 -9 -10 Inserted VE546 with key tuple -8 -8 -4 Erased key -1 -5 -2 Key -8 4 4 not found when erasing! Erased key -8 -8 -4 Key -5 -1 -9 not found when erasing! Key -5 -2 -3