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.
Please double check your code to solve this problem and try again.
Your Answer
Inserted VE521 with key tuple -5 7 4 Inserted VE514 with key tuple 0 0 2 Key -9 7 0 not found when erasing! Inserted VE346 with key tuple 3 -10 -9 Inserted VE565 with key tuple -7 -1 -3 Key 2 -4 -6 not found when erasing! Inserted VE402 with key tuple 9 6 9 Max of dim 1 is VE521 Inserted VE584 with key tuple 1 2 8 Max of dim 0 is VE402 Inserted VE293 with key tuple 9 -7 -3 Max of dim 1 is VE521 Key -9 3 -2 not found! Key -3 6 4 not found when erasing! Key 5 3 -6 not found when erasing! Key 3 5 8 not found! Min of dim 2 is VE346 Min of dim 0 is VE565 Inserted VE330 with key tuple 0 -3 6 Key 9 6 -6 not found! Key -9 0 -6 not found when erasing! Key -1 -5 1 not found! Inserted VE282 with key tuple 8 -7 5 Max of dim 1 is VE521 Key 1 3 -7 not found when erasing! Max of dim 0 is VE402 Inserted VE476 with key tuple 2 7 -10 Min of dim 0 is VE565 Key 5 9 6 not found! Inserted VE304 with key tuple -4 4 0 Inserted VE284 with key tuple -8 -9 6 Max of dim 0 is VE402 Inserted VE496 with key tuple -7 -2 7 Max of dim 1 is VE
JOJ Answer
Inserted VE521 with key tuple -5 7 4 Inserted VE514 with key tuple 0 0 2 Key -9 7 0 not found when erasing! Inserted VE346 with key tuple 3 -10 -9 Inserted VE565 with key tuple -7 -1 -3 Key 2 -4 -6 not found when erasing! Inserted VE402 with key tuple 9 6 9 Max of dim 1 is VE521 Inserted VE584 with key tuple 1 2 8 Max of dim 0 is VE402 Inserted VE293 with key tuple 9 -7 -3 Max of dim 1 is VE521 Key -9 3 -2 not found! Key -3 6 4 not found when erasing! Key 5 3 -6 not found when erasing! Key 3 5 8 not found! Min of dim 2 is VE346 Min of dim 0 is VE565 Inserted VE330 with key tuple 0 -3 6 Key 9 6 -6 not found! Key -9 0 -6 not found when erasing! Key -1 -5 1 not found! Inserted VE282 with key tuple 8 -7 5 Max of dim 1 is VE521 Key 1 3 -7 not found when erasing! Max of dim 0 is VE402 Inserted VE476 with key tuple 2 7 -10 Min of dim 0 is VE565 Key 5 9 6 not found! Inserted VE304 with key tuple -4 4 0 Inserted VE284 with key tuple -8 -9 6 Max of dim 0 is VE402 Inserted VE496 with key tuple -7 -2 7 Max of dim 1 is VE