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 -11, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Value found: VE482 with key 1 -1 0 Inserted VE593 with key tuple -8 9 5 Value found: VE593 with key -8 9 5 Max of dim 1 is VE593 Inserted VE446 with key tuple -1 4 -10 Key 8 8 -6 not found! Value found: VE593 with key -8 9 5 Inserted VE225 with key tuple 10 10 4 Erased key 0 0 0 Value found: VE281 with key -1 2 0 Inserted VE405 with key tuple 3 0 1 Inserted VE150 with key tuple 0 2 7 Value found: VE150 with key 0 2 7 Value found: VE482 with key 1 -1 0 Key -8 5 -4 not found! Inserted VE470 with key tuple -3 6 -10 Max of dim 1 is VE225 Inserted VE402 with key tuple -5 2 -5 Inserted VE101 with key tuple 3 3 -9 Key -5 5 5 not found when erasing! Key 6 9 -1 not found! Min of dim 0 is VE593 Value found: VE402 with key -5 2 -5 Key -4 3 7 not found! Inserted VE179 with key tuple -1 6 -4 Key -7 -6 7 not found! Inserted VE121 with key tuple -9 -7 3 Inserted VE110 with key tuple 8 9 2 Key -4 -4 3 not found! Max of dim 2 is VE150 Inserted VE341 with key tuple -6 -6 6 Key -1 1 -9 not found! Key -8 5 -3 not found when eras
JOJ Answer
Value found: VE482 with key 1 -1 0 Inserted VE593 with key tuple -8 9 5 Value found: VE593 with key -8 9 5 Max of dim 1 is VE593 Inserted VE446 with key tuple -1 4 -10 Key 8 8 -6 not found! Value found: VE593 with key -8 9 5 Inserted VE225 with key tuple 10 10 4 Erased key 0 0 0 Value found: VE281 with key -1 2 0 Inserted VE405 with key tuple 3 0 1 Inserted VE150 with key tuple 0 2 7 Value found: VE150 with key 0 2 7 Value found: VE482 with key 1 -1 0 Key -8 5 -4 not found! Inserted VE470 with key tuple -3 6 -10 Max of dim 1 is VE225 Inserted VE402 with key tuple -5 2 -5 Inserted VE101 with key tuple 3 3 -9 Key -5 5 5 not found when erasing! Key 6 9 -1 not found! Min of dim 0 is VE593 Value found: VE402 with key -5 2 -5 Key -4 3 7 not found! Inserted VE179 with key tuple -1 6 -4 Key -7 -6 7 not found! Inserted VE121 with key tuple -9 -7 3 Inserted VE110 with key tuple 8 9 2 Key -4 -4 3 not found! Max of dim 2 is VE150 Inserted VE341 with key tuple -6 -6 6 Key -1 1 -9 not found!