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.
Please double check your code to solve this problem and try again.
Your Answer
Key 7 -9 -10 not found when erasing! Key -2 10 3 not found when erasing! Max of dim 2 is VE482 Inserted VE481 with key tuple -6 6 3 Key 9 -8 -1 not found when erasing! Inserted VE413 with key tuple 7 -7 -2 Inserted VE463 with key tuple -5 -2 -8 Min of dim 1 is VE413 Inserted VE417 with key tuple -1 -3 5 Erased key -5 -2 -8 Key -1 9 -5 not found when erasing! Inserted VE273 with key tuple 3 1 -3 Key 0 3 -3 not found when erasing! Value found: VE482 with key 1 -1 0 Inserted VE108 with key tuple -5 4 -3 Erased key 1 -1 0 Min of dim 0 is VE481 Inserted VE244 with key tuple 7 -2 -1 Value found: VE370 with key 0 0 0 Inserted VE437 with key tuple 1 8 -5 Erased key -5 4 -3 Inserted VE552 with key tuple -4 7 4 Key 2 8 -2 not found when erasing! Value found: VE481 with key -6 6 3 Inserted VE524 with key tuple -6 -3 -6 Erased key 0 0 0 Inserted VE517 with key tuple 7 -9 0 Key -10 2 -2 not found when erasing! Inserted VE254 with key tuple -6 5 9 Min of dim 1 is VE517 Inserted VE534 with key tuple 3 -9 -1 Key 10 8 2 not f
JOJ Answer
Key 7 -9 -10 not found when erasing! Key -2 10 3 not found when erasing! Max of dim 2 is VE482 Inserted VE481 with key tuple -6 6 3 Key 9 -8 -1 not found when erasing! Inserted VE413 with key tuple 7 -7 -2 Inserted VE463 with key tuple -5 -2 -8 Min of dim 1 is VE413 Inserted VE417 with key tuple -1 -3 5 Erased key -5 -2 -8 Key -1 9 -5 not found when erasing! Inserted VE273 with key tuple 3 1 -3 Key 0 3 -3 not found when erasing! Value found: VE482 with key 1 -1 0 Inserted VE108 with key tuple -5 4 -3 Erased key 1 -1 0 Min of dim 0 is VE481 Inserted VE244 with key tuple 7 -2 -1 Value found: VE370 with key 0 0 0 Inserted VE437 with key tuple 1 8 -5 Erased key -5 4 -3 Inserted VE552 with key tuple -4 7 4 Key 2 8 -2 not found when erasing! Value found: VE481 with key -6 6 3 Inserted VE524 with key tuple -6 -3 -6 Erased key 0 0 0 Inserted VE517 with key tuple 7 -9 0 Key -10 2 -2 not found when erasing! Inserted VE254 with key tuple -6 5 9 Min of dim 1 is VE517 Inserted VE534 with key