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
Max of dim 2 is VE482 Inserted VE426 with key tuple 10 0 -10 Key -6 6 3 not found! Value found: VE281 with key -1 2 0 Key -2 -1 -8 not found! Max of dim 2 is VE482 Value found: VE281 with key -1 2 0 Value found: VE426 with key 10 0 -10 Inserted VE509 with key tuple 10 -1 -3 Min of dim 0 is VE281 Inserted VE361 with key tuple -2 2 -1 Value found: VE370 with key 0 0 0 Erased key 0 0 0 Max of dim 2 is VE482 Value found: VE426 with key 10 0 -10 Min of dim 2 is VE426 Inserted VE129 with key tuple 3 7 9 Key -8 1 -4 not found when erasing! Inserted VE344 with key tuple -9 -7 6 Key 10 -2 -3 not found! Key -9 -1 -3 not found when erasing! Key -6 6 9 not found! Max of dim 2 is VE129 Max of dim 1 is VE129 Min of dim 0 is VE344 Value found: VE482 with key 1 -1 0 Value found: VE361 with key -2 2 -1 Key -8 10 1 not found! Inserted VE345 with key tuple -3 -8 -10 Max of dim 1 is VE129 Value found: VE281 with key -1 2 0 Erased key -3 -8 -10 Inserted VE521 with key tuple 6 -8 10 Inserted VE102