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
Max of dim 0 is VE482 Max of dim 0 is VE482 Key 9 -5 8 not found when erasing! Inserted VE319 with key tuple -2 9 3 Key -8 -1 2 not found when erasing! Key -2 -10 -2 not found! Key -2 -5 9 not found! Key -4 4 5 not found when erasing! Min of dim 0 is VE319 Inserted VE448 with key tuple -9 -9 -9 Max of dim 0 is VE482 Inserted VE561 with key tuple 6 -2 8 Key 1 -6 -5 not found! Inserted VE423 with key tuple -5 0 -8 Inserted VE458 with key tuple 9 3 -7 Inserted VE405 with key tuple 9 -10 7 Key 2 3 7 not found! Min of dim 1 is VE405 Max of dim 1 is VE458 Key -5 3 8 not found! Inserted VE347 with key tuple -9 3 -6 Max of dim 1 is VE458 Max of dim 2 is VE405 Key -9 2 -8 not found when erasing! Inserted VE431 with key tuple -9 -1 -6 Key -6 6 -3 not found when erasing! Key -3 -3 6 not found! Key -3 -5 -2 not found! Inserted VE310 with key tuple 8 -3 5 Inserted VE406 with key tuple 2 7 9 Inserted VE398 with key tuple 7 -2 -4 Key -4 -10 5 not found! Key -9 5 0 not found when erasing! Key -8 -10 -2 not found! Key 6 0 -1
JOJ Answer
Max of dim 0 is VE482 Max of dim 0 is VE482 Key 9 -5 8 not found when erasing! Inserted VE319 with key tuple -2 9 3 Key -8 -1 2 not found when erasing! Key -2 -10 -2 not found! Key -2 -5 9 not found! Key -4 4 5 not found when erasing! Min of dim 0 is VE319 Inserted VE448 with key tuple -9 -9 -9 Max of dim 0 is VE482 Inserted VE561 with key tuple 6 -2 8 Key 1 -6 -5 not found! Inserted VE423 with key tuple -5 0 -8 Inserted VE458 with key tuple 9 3 -7 Inserted VE405 with key tuple 9 -10 7 Key 2 3 7 not found! Min of dim 1 is VE405 Max of dim 1 is VE319 Key -5 3 8 not found! Inserted VE347 with key tuple -9 3 -6 Max of dim 1 is VE319 Max of dim 2 is VE561 Key -9 2 -8 not found when erasing! Inserted VE431 with key tuple -9 -1 -6 Key -6 6 -3 not found when erasing! Key -3 -3 6 not found! Key -3 -5 -2 not found! Inserted VE310 with key tuple 8 -3 5 Inserted VE406 with key tuple 2 7 9 Inserted VE398 with key tuple 7 -2 -4 Key -4 -10 5 not found! Key -9 5 0 not found when erasing! Key -8 -10 -2 not found! Key 6 0 -1