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 VE364 with key tuple 4 -2 7 Min of dim 1 is VE364 Inserted VE329 with key tuple 8 0 -9 Min of dim 0 is VE281 Min of dim 0 is VE281 Key 2 8 7 not found! Inserted VE476 with key tuple 2 -9 7 Inserted VE362 with key tuple 4 10 2 Key -2 -3 4 not found! Min of dim 0 is VE281 Inserted VE515 with key tuple 5 -6 -6 Min of dim 1 is VE515 Inserted VE370 with key tuple -2 7 -2 Inserted VE512 with key tuple -5 -5 -7 Inserted VE593 with key tuple -9 6 -1 Inserted VE247 with key tuple -9 3 -4 Min of dim 2 is VE512 Inserted VE290 with key tuple 8 -1 4 Inserted VE479 with key tuple -5 -4 10 Inserted VE347 with key tuple -4 0 3 Erased key -5 -5 -7 Value found: VE476 with key 2 -9 7 Inserted VE319 with key tuple -6 5 0 Inserted VE534 with key tuple -8 4 0 Max of dim 0 is VE329 Max of dim 0 is VE329 Key 0 -5 10 not found! Inserted VE538 with key tuple -10 5 -6 Min of dim 0 is VE347 Inserted VE249 with key tuple -7 6 6 Inserted VE145 with key tuple -8 -2 -4 Inserted VE269 with key tuple -6 0 -7 Key -8 -9 10 not found! I
JOJ Answer
Inserted VE364 with key tuple 4 -2 7 Min of dim 1 is VE364 Inserted VE329 with key tuple 8 0 -9 Min of dim 0 is VE281 Min of dim 0 is VE281 Key 2 8 7 not found! Inserted VE476 with key tuple 2 -9 7 Inserted VE362 with key tuple 4 10 2 Key -2 -3 4 not found! Min of dim 0 is VE281 Inserted VE515 with key tuple 5 -6 -6 Min of dim 1 is VE476 Inserted VE370 with key tuple -2 7 -2 Inserted VE512 with key tuple -5 -5 -7 Inserted VE593 with key tuple -9 6 -1 Inserted VE247 with key tuple -9 3 -4 Min of dim 2 is VE329 Inserted VE290 with key tuple 8 -1 4 Inserted VE479 with key tuple -5 -4 10 Inserted VE347 with key tuple -4 0 3 Erased key -5 -5 -7 Value found: VE476 with key 2 -9 7 Inserted VE319 with key tuple -6 5 0 Inserted VE534 with key tuple -8 4 0 Max of dim 0 is VE329 Max of dim 0 is VE329 Key 0 -5 10 not found! Inserted VE538 with key tuple -10 5 -6 Min of dim 0 is VE538 Inserted VE249 with key tuple -7 6 6 Inserted VE145 with key tuple -8 -2 -4 Inserted VE269 with key tuple -6