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
JOJ Answer
Key -3 -7 -3 not found when erasing! Key 0 -7 -6 not found! Inserted VE414 with key tuple 2 -2 -6 Inserted VE427 with key tuple -8 0 1 Inserted VE367 with key tuple -9 4 2 Inserted VE376 with key tuple 0 -5 -4 Key 1 6 4 not found when erasing! Inserted VE550 with key tuple -10 0 6 Key -1 3 4 not found when erasing! Key 0 -3 7 not found! Key 4 -9 4 not found! Key 0 5 -8 not found! Min of dim 2 is VE414 Key 6 5 -2 not found! Key 0 -8 9 not found! Max of dim 1 is VE367 Inserted VE494 with key tuple 3 -10 2 Inserted VE429 with key tuple -5 -8 -6 Key 9 1 4 not found! Key 6 0 -7 not found! Inserted VE295 with key tuple 6 0 8 Inserted VE547 with key tuple -2 -6 -3 Min of dim 2 is VE429 Inserted VE526 with key tuple 8 4 -5 Inserted VE534 with key tuple 7 5 -7 Inserted VE550 with key tuple -8 -10 0 Key 0 -2 -8 not found! Inserted VE378 with key tuple 2 8 6 Inserted VE458 with key tuple 0 8 -4 Min of dim 0 is VE550 Inserted VE594 with key tuple -7 1 7 Inserted VE582 with key tuple 0 2 7 Max of dim 0 is VE526 Traversing