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 Runtime Error. And the exit code of your program is -6, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Key 4 -10 -10 not found when erasing! Max of dim 2 is VE482 Max of dim 1 is VE281 Min of dim 0 is VE281 Value found: VE281 with key -1 2 0 Key -9 9 -4 not found when erasing! Inserted VE586 with key tuple -8 -5 -10 Inserted VE105 with key tuple 8 0 -2 Value found: VE281 with key -1 2 0 Key -4 -6 0 not found! Inserted VE160 with key tuple 2 -7 8 Key -7 3 -5 not found when erasing! Inserted VE290 with key tuple 6 10 -4 Erased key 0 0 0 Min of dim 1 is VE160 Key -5 7 -5 not found when erasing! Key 0 -5 -4 not found when erasing! Inserted VE245 with key tuple -8 3 -5 Key 0 9 1 not found when erasing! Value found: VE105 with key 8 0 -2 Inserted VE388 with key tuple -8 -7 9 Max of dim 2 is VE388 Max of dim 2 is VE388 Value found: VE160 with key 2 -7 8 Inserted VE335 with key tuple -3 -10 6 Inserted VE499 with key tuple 2 -10 -3 Inserted VE277 with key tuple -5 1 -3 Inserted VE339 with key tuple -9 1 -8 Key 3 3 1 not found when erasing! Max of dim 1 is VE290 Inserted VE359 with key tuple 3 7 -1 Key 6 0 -1 not found
JOJ Answer
Key 4 -10 -10 not found when erasing! Max of dim 2 is VE482 Max of dim 1 is VE281 Min of dim 0 is VE281 Value found: VE281 with key -1 2 0 Key -9 9 -4 not found when erasing! Inserted VE586 with key tuple -8 -5 -10 Inserted VE105 with key tuple 8 0 -2 Value found: VE281 with key -1 2 0 Key -4 -6 0 not found! Inserted VE160 with key tuple 2 -7 8 Key -7 3 -5 not found when erasing! Inserted VE290 with key tuple 6 10 -4 Erased key 0 0 0 Min of dim 1 is VE160 Key -5 7 -5 not found when erasing! Key 0 -5 -4 not found when erasing! Inserted VE245 with key tuple -8 3 -5 Key 0 9 1 not found when erasing! Value found: VE105 with key 8 0 -2 Inserted VE388 with key tuple -8 -7 9 Max of dim 2 is VE388 Max of dim 2 is VE388 Value found: VE160 with key 2 -7 8 Inserted VE335 with key tuple -3 -10 6 Inserted VE499 with key tuple 2 -10 -3 Inserted VE277 with key tuple -5 1 -3 Inserted VE339 with key tuple -9 1 -8 Key 3 3 1 not found when erasing! Max of dim 1 is VE290 Inserted VE359 with key tupl