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 Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Key -8 5 -10 not found when erasing! Inserted VE475 with key tuple 0 -7 7 Inserted VE318 with key tuple -6 -9 8 Erased key 1 -1 0 Inserted VE339 with key tuple -8 1 -6 Key 0 0 0 not found when erasing! Inserted VE267 with key tuple 8 -8 8 Inserted VE526 with key tuple 4 -7 10 Max of dim 2 is VE526 Key -1 -5 8 not found! Key 8 -8 8 not found when erasing! Key 0 -7 7 not found when erasing! Inserted VE190 with key tuple 2 -6 -6 Value found: VE339 with key -8 1 -6 Key -4 6 -9 not found when erasing! Min of dim 1 is VE318 Key 8 7 -3 not found when erasing! Inserted VE450 with key tuple 6 8 5 Key -1 2 0 not found when erasing! Inserted VE496 with key tuple -4 5 3 Inserted VE499 with key tuple 7 -4 8 Inserted VE309 with key tuple 7 4 0 Key 3 8 9 not found when erasing! Key 8 1 -1 not found! Min of dim 0 is VE339 Inserted VE353 with key tuple -4 9 4 Min of dim 1 is VE318 Key -4 -10 3 not found when erasing! Max of dim 2 is VE526 Min of dim 2 is VE339 Key -2 -2 2 not found when erasing! Key -7 -10 0 not found! Value
JOJ Answer
Key -8 5 -10 not found when erasing! Inserted VE475 with key tuple 0 -7 7 Inserted VE318 with key tuple -6 -9 8 Erased key 1 -1 0 Inserted VE339 with key tuple -8 1 -6 Erased key 0 0 0 Inserted VE267 with key tuple 8 -8 8 Inserted VE526 with key tuple 4 -7 10 Max of dim 2 is VE526 Key -1 -5 8 not found! Erased key 8 -8 8 Erased key 0 -7 7 Inserted VE190 with key tuple 2 -6 -6 Value found: VE339 with key -8 1 -6 Key -4 6 -9 not found when erasing! Min of dim 1 is VE318 Key 8 7 -3 not found when erasing! Inserted VE450 with key tuple 6 8 5 Erased key -1 2 0 Inserted VE496 with key tuple -4 5 3 Inserted VE499 with key tuple 7 -4 8 Inserted VE309 with key tuple 7 4 0 Key 3 8 9 not found when erasing! Key 8 1 -1 not found! Min of dim 0 is VE339 Inserted VE353 with key tuple -4 9 4 Min of dim 1 is VE318 Key -4 -10 3 not found when erasing! Max of dim 2 is VE526 Min of dim 2 is VE339 Key -2 -2 2 not found when erasing! Key -7 -10 0 not found! Value found: VE309 with key 7 4 0 Inserte