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 0 -8 -1 not found when erasing! Key -6 -9 4 not found when erasing! Inserted VE493 with key tuple 0 -6 -10 Erased key 1 -1 0 Key 0 9 -2 not found when erasing! Inserted VE180 with key tuple 0 9 10 Max of dim 0 is VE180 Inserted VE166 with key tuple 3 4 -1 Key 2 6 2 not found when erasing! Min of dim 1 is VE493 Erased key 3 4 -1 Inserted VE390 with key tuple 1 8 -9 Inserted VE233 with key tuple 0 -10 8 Inserted VE167 with key tuple 9 2 -5 Inserted VE352 with key tuple -8 -1 -3 Erased key 0 -6 -10 Inserted VE182 with key tuple -2 6 6 Erased key 0 0 0 Erased key -8 -1 -3 Key 1 8 -9 not found when erasing! Key 6 8 -9 not found when erasing! Inserted VE114 with key tuple 4 -6 6 Inserted VE523 with key tuple -6 5 -7 Max of dim 0 is VE167 Max of dim 2 is VE233 Key 4 -6 6 not found when erasing! Inserted VE427 with key tuple 1 0 -8 Max of dim 0 is VE167 Inserted VE412 with key tuple -3 2 2 Inserted VE370 with key tuple 6 8 -2 Inserted VE191 with key tuple 1 -8 -2 Min of dim 2 is VE427 Value found: VE523 with key
JOJ Answer
Key 0 -8 -1 not found when erasing! Key -6 -9 4 not found when erasing! Inserted VE493 with key tuple 0 -6 -10 Erased key 1 -1 0 Key 0 9 -2 not found when erasing! Inserted VE180 with key tuple 0 9 10 Max of dim 0 is VE180 Inserted VE166 with key tuple 3 4 -1 Key 2 6 2 not found when erasing! Min of dim 1 is VE493 Erased key 3 4 -1 Inserted VE390 with key tuple 1 8 -9 Inserted VE233 with key tuple 0 -10 8 Inserted VE167 with key tuple 9 2 -5 Inserted VE352 with key tuple -8 -1 -3 Erased key 0 -6 -10 Inserted VE182 with key tuple -2 6 6 Erased key 0 0 0 Erased key -8 -1 -3 Erased key 1 8 -9 Key 6 8 -9 not found when erasing! Inserted VE114 with key tuple 4 -6 6 Inserted VE523 with key tuple -6 5 -7 Max of dim 0 is VE167 Max of dim 2 is VE180 Erased key 4 -6 6 Inserted VE427 with key tuple 1 0 -8 Max of dim 0 is VE167 Inserted VE412 with key tuple -3 2 2 Inserted VE370 with key tuple 6 8 -2 Inserted VE191 with key tuple 1 -8 -2 Min of dim 2 is VE427 Value found: VE523 with key -6