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, the main problem you meet now is Memory Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Inserted VE446 with key tuple 4 -9 0 Inserted VE401 with key tuple 6 -3 -4 Inserted VE334 with key tuple -4 5 10 Inserted VE207 with key tuple -4 6 -1 Erased key -4 6 -1 Max of dim 2 is VE334 Max of dim 0 is VE401 Key -5 4 1 not found when erasing! Max of dim 2 is VE334 Max of dim 1 is VE334 Inserted VE584 with key tuple -9 7 8 Key 4 -2 3 not found when erasing! Inserted VE549 with key tuple -8 1 0
JOJ Answer
Inserted VE446 with key tuple 4 -9 0 Inserted VE401 with key tuple 6 -3 -4 Inserted VE334 with key tuple -4 5 10 Inserted VE207 with key tuple -4 6 -1 Erased key -4 6 -1 Max of dim 2 is VE334 Max of dim 0 is VE401 Key -5 4 1 not found when erasing! Max of dim 2 is VE334 Max of dim 1 is VE334 Inserted VE584 with key tuple -9 7 8 Key 4 -2 3 not found when erasing! Inserted VE549 with key tuple -8 1 0 Min of dim 0 is VE584 Key 8 3 6 not found! Min of dim 2 is VE401 Erased key -8 1 0 Min of dim 0 is VE584 Inserted VE128 with key tuple 7 7 -4 Min of dim 2 is VE401 Max of dim 1 is VE128 Min of dim 0 is VE584 Max of dim 0 is VE128 Min of dim 1 is VE446 Inserted VE266 with key tuple -2 -5 7 Key 7 -9 6 not found when erasing! Max of dim 2 is VE334 Inserted VE312 with key tuple 4 2 3 Inserted VE294 with key tuple 1 -6 8 Max of dim 2 is VE334 Min of dim 1 is VE446 Min of dim 2 is VE401 Inserted VE300 with key tuple -8 -1 -2 Max of dim 2 is VE334 Min of dim 1 is VE446 Max of dim 0 is VE