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 2 is VE482 Key -5 0 0 not found! Inserted VE238 with key tuple 8 -5 6 Value found: VE482 with key 1 -1 0 Min of dim 0 is VE281 Min of dim 1 is VE238 Key -3 3 -10 not found! Value found: VE281 with key -1 2 0 Value found: VE281 with key -1 2 0 Key 0 -2 -8 not found when erasing! Key 5 -8 -7 not found! Key 5 -4 -6 not found! Inserted VE231 with key tuple 2 -1 -7 Key 4 -6 9 not found! Inserted VE112 with key tuple -3 8 -10 Inserted VE333 with key tuple 2 5 5 Erased key 1 -1 0 Key 2 -4 2 not found! Key -9 10 -6 not found when erasing! Value found: VE231 with key 2 -1 -7 Key 2 -5 9 not found! Value found: VE238 with key 8 -5 6 Min of dim 2 is VE112 Max of dim 0 is VE238 Value found: VE231 with key 2 -1 -7 Value found: VE238 with key 8 -5 6 Key -7 1 10 not found! Value found: VE231 with key 2 -1 -7 Max of dim 0 is VE238 Key -8 1 9 not found when erasing! Inserted VE436 with key tuple 10 -4 2 Erased key -1 2 0 Min of dim 0 is VE112 Value found: VE436 with key 10 -4 2 Value found: VE333 with key 2 5 5 Key
JOJ Answer
Max of dim 2 is VE482 Key -5 0 0 not found! Inserted VE238 with key tuple 8 -5 6 Value found: VE482 with key 1 -1 0 Min of dim 0 is VE281 Min of dim 1 is VE238 Key -3 3 -10 not found! Value found: VE281 with key -1 2 0 Value found: VE281 with key -1 2 0 Key 0 -2 -8 not found when erasing! Key 5 -8 -7 not found! Key 5 -4 -6 not found! Inserted VE231 with key tuple 2 -1 -7 Key 4 -6 9 not found! Inserted VE112 with key tuple -3 8 -10 Inserted VE333 with key tuple 2 5 5 Erased key 1 -1 0 Key 2 -4 2 not found! Key -9 10 -6 not found when erasing! Value found: VE231 with key 2 -1 -7 Key 2 -5 9 not found! Value found: VE238 with key 8 -5 6 Min of dim 2 is VE112 Max of dim 0 is VE238 Value found: VE231 with key 2 -1 -7 Value found: VE238 with key 8 -5 6 Key -7 1 10 not found! Value found: VE231 with key 2 -1 -7 Max of dim 0 is VE238 Key -8 1 9 not found when erasing! Inserted VE436 with key tuple 10 -4 2 Erased key -1 2 0 Min of dim 0 is VE112 Value found: VE436 with key 10 -4 2 Valu