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
Inserted VE506 with key tuple 2 -3 2 Min of dim 0 is VE281 Key 4 -10 -10 not found! Inserted VE473 with key tuple -5 2 1 Key -6 -9 8 not found when erasing! Inserted VE446 with key tuple 5 -2 6 Max of dim 1 is VE281 Key 5 3 7 not found! Max of dim 2 is VE446 Key 3 7 -4 not found when erasing! Key 3 5 -10 not found when erasing! Key 1 0 -9 not found! Inserted VE562 with key tuple 8 -7 -7 Min of dim 1 is VE562 Max of dim 0 is VE562 Inserted VE442 with key tuple -10 2 0 Key 1 -2 -6 not found! Min of dim 1 is VE562 Key -8 2 -2 not found when erasing! Key -4 8 -9 not found! Key -7 3 1 not found! Inserted VE571 with key tuple 6 6 -10 Min of dim 0 is VE442 Inserted VE518 with key tuple 5 -7 -10 Inserted VE383 with key tuple -10 3 5 Key 3 7 8 not found! Inserted VE403 with key tuple -4 -7 -7 Min of dim 1 is VE403 Key -2 -9 0 not found! Key 6 4 -4 not found when erasing! Max of dim 2 is VE446 Inserted VE590 with key tuple -8 -2 8 Inserted VE304 with key tuple -3 1 6 Min of dim 2 is VE518 Inserted VE358 with key tuple
JOJ Answer
Inserted VE506 with key tuple 2 -3 2 Min of dim 0 is VE281 Key 4 -10 -10 not found! Inserted VE473 with key tuple -5 2 1 Key -6 -9 8 not found when erasing! Inserted VE446 with key tuple 5 -2 6 Max of dim 1 is VE281 Key 5 3 7 not found! Max of dim 2 is VE446 Key 3 7 -4 not found when erasing! Key 3 5 -10 not found when erasing! Key 1 0 -9 not found! Inserted VE562 with key tuple 8 -7 -7 Min of dim 1 is VE562 Max of dim 0 is VE562 Inserted VE442 with key tuple -10 2 0 Key 1 -2 -6 not found! Min of dim 1 is VE562 Key -8 2 -2 not found when erasing! Key -4 8 -9 not found! Key -7 3 1 not found! Inserted VE571 with key tuple 6 6 -10 Min of dim 0 is VE442 Inserted VE518 with key tuple 5 -7 -10 Inserted VE383 with key tuple -10 3 5 Key 3 7 8 not found! Inserted VE403 with key tuple -4 -7 -7 Min of dim 1 is VE403 Key -2 -9 0 not found! Key 6 4 -4 not found when erasing! Max of dim 2 is VE446 Inserted VE590 with key tuple -8 -2 8 Inserted VE304 with key tuple -3 1 6 Min of dim 2 is VE518 Inserted VE358 with key tuple