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 -11, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Inserted VE432 with key tuple -9 9 6 Inserted VE108 with key tuple -8 3 7 Min of dim 2 is VE281 Inserted VE135 with key tuple 10 2 4 Inserted VE132 with key tuple -9 4 8 Max of dim 2 is VE132 Inserted VE229 with key tuple 5 3 0 Inserted VE384 with key tuple 2 -4 5 Inserted VE300 with key tuple -3 -7 -4 Inserted VE361 with key tuple 4 -5 7 Inserted VE544 with key tuple -5 1 4 Inserted VE250 with key tuple -3 4 8 Inserted VE332 with key tuple -9 -3 -9 Key 6 5 2 not found when erasing! Value found: VE281 with key -1 2 0 Max of dim 1 is VE432 Min of dim 2 is VE332 Inserted VE138 with key tuple 7 0 6 Inserted VE326 with key tuple 0 10 0 Inserted VE531 with key tuple -4 2 2 Key -5 3 8 not found when erasing! Inserted VE115 with key tuple 9 2 3 Inserted VE435 with key tuple -1 6 -2 Value found: VE544 with key -5 1 4 Inserted VE193 with key tuple -8 1 3 Value found: VE138 with key 7 0 6 Max of dim 1 is VE326 Key 2 1 4 not found! Inserted VE410 with key tuple -8 -7 0 Inserted VE313 with key tuple 3 8 6 Inserted VE575
JOJ Answer
Inserted VE432 with key tuple -9 9 6 Inserted VE108 with key tuple -8 3 7 Min of dim 2 is VE281 Inserted VE135 with key tuple 10 2 4 Inserted VE132 with key tuple -9 4 8 Max of dim 2 is VE132 Inserted VE229 with key tuple 5 3 0 Inserted VE384 with key tuple 2 -4 5 Inserted VE300 with key tuple -3 -7 -4 Inserted VE361 with key tuple 4 -5 7 Inserted VE544 with key tuple -5 1 4 Inserted VE250 with key tuple -3 4 8 Inserted VE332 with key tuple -9 -3 -9 Key 6 5 2 not found when erasing! Value found: VE281 with key -1 2 0 Max of dim 1 is VE432 Min of dim 2 is VE332 Inserted VE138 with key tuple 7 0 6 Inserted VE326 with key tuple 0 10 0 Inserted VE531 with key tuple -4 2 2 Key -5 3 8 not found when erasing! Inserted VE115 with key tuple 9 2 3 Inserted VE435 with key tuple -1 6 -2 Value found: VE544 with key -5 1 4 Inserted VE193 with key tuple -8 1 3 Value found: VE138 with key 7 0 6 Max of dim 1 is VE326 Key 2 1 4 not found! Inserted VE410 with key tuple -8 -7 0 Inserted VE313 with ke