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
Max of dim 1 is VE281 Inserted VE301 with key tuple 6 -6 5 Max of dim 1 is VE281 Inserted VE353 with key tuple -9 -9 -7 Min of dim 1 is VE353 Inserted VE584 with key tuple -10 7 -7 Inserted VE534 with key tuple 4 8 -7 Min of dim 2 is VE353 Inserted VE219 with key tuple 8 3 -8 Key -4 -4 6 not found! Min of dim 2 is VE353 Key -4 -6 8 not found! Inserted VE255 with key tuple -6 -1 -9 Inserted VE409 with key tuple 9 8 9 Inserted VE172 with key tuple -6 3 4 Value found: VE353 with key -9 -9 -7 Inserted VE228 with key tuple 10 -4 -8 Key 6 -4 -10 not found! Inserted VE385 with key tuple 9 -6 5 Inserted VE464 with key tuple -5 9 -9 Max of dim 0 is VE409 Inserted VE502 with key tuple 5 2 4 Inserted VE408 with key tuple -9 -4 4 Inserted VE176 with key tuple 10 6 -2 Key -1 4 9 not found when erasing! Inserted VE278 with key tuple 4 -7 -1 Inserted VE472 with key tuple 8 -1 -5 Key -1 -1 8 not found! Inserted VE262 with key tuple -5 9 -3 Inserted VE598 with key tuple -9 0 -7 Inserted VE278 with key tuple 10 -7 -1 Max of di
JOJ Answer
Max of dim 1 is VE281 Inserted VE301 with key tuple 6 -6 5 Max of dim 1 is VE281 Inserted VE353 with key tuple -9 -9 -7 Min of dim 1 is VE353 Inserted VE584 with key tuple -10 7 -7 Inserted VE534 with key tuple 4 8 -7 Min of dim 2 is VE584 Inserted VE219 with key tuple 8 3 -8 Key -4 -4 6 not found! Min of dim 2 is VE219 Key -4 -6 8 not found! Inserted VE255 with key tuple -6 -1 -9 Inserted VE409 with key tuple 9 8 9 Inserted VE172 with key tuple -6 3 4 Value found: VE353 with key -9 -9 -7 Inserted VE228 with key tuple 10 -4 -8 Key 6 -4 -10 not found! Inserted VE385 with key tuple 9 -6 5 Inserted VE464 with key tuple -5 9 -9 Max of dim 0 is VE228 Inserted VE502 with key tuple 5 2 4 Inserted VE408 with key tuple -9 -4 4 Inserted VE176 with key tuple 10 6 -2 Key -1 4 9 not found when erasing! Inserted VE278 with key tuple 4 -7 -1 Inserted VE472 with key tuple 8 -1 -5 Key -1 -1 8 not found! Inserted VE262 with key tuple -5 9 -3 Inserted VE598 with key tuple -9 0 -7 Inserted VE278 wit