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 VE270 with key tuple -7 2 -9 Inserted VE302 with key tuple -6 8 0 Min of dim 2 is VE270 Value found: VE370 with key 0 0 0 Key -1 2 0 not found when erasing! Inserted VE119 with key tuple -4 -9 -7 Inserted VE532 with key tuple 9 1 8 Key 5 7 -8 not found! Value found: VE302 with key -6 8 0 Inserted VE330 with key tuple -3 7 0 Key -2 -7 -1 not found when erasing! Inserted VE117 with key tuple -4 -8 10 Value found: VE370 with key 0 0 0 Max of dim 1 is VE302 Inserted VE545 with key tuple 7 7 9 Key 8 2 2 not found! Key 5 8 7 not found! Value found: VE119 with key -4 -9 -7 Inserted VE292 with key tuple -10 -8 -4 Inserted VE593 with key tuple -10 -2 -9 Key -8 7 9 not found! Min of dim 2 is VE593 Key -5 -4 -10 not found! Max of dim 2 is VE117 Key 2 6 -9 not found! Key -5 -7 -4 not found! Max of dim 1 is VE302 Inserted VE496 with key tuple 4 -7 6 Value found: VE270 with key -7 2 -9 Value found: VE593 with key -10 -2 -9 Max of dim 1 is VE302 Min of dim 1 is VE119 Value found: VE119 with key -4 -9 -7 Value found
JOJ Answer
Inserted VE270 with key tuple -7 2 -9 Inserted VE302 with key tuple -6 8 0 Min of dim 2 is VE270 Value found: VE370 with key 0 0 0 Erased key -1 2 0 Inserted VE119 with key tuple -4 -9 -7 Inserted VE532 with key tuple 9 1 8 Key 5 7 -8 not found! Value found: VE302 with key -6 8 0 Inserted VE330 with key tuple -3 7 0 Key -2 -7 -1 not found when erasing! Inserted VE117 with key tuple -4 -8 10 Value found: VE370 with key 0 0 0 Max of dim 1 is VE302 Inserted VE545 with key tuple 7 7 9 Key 8 2 2 not found! Key 5 8 7 not found! Value found: VE119 with key -4 -9 -7 Inserted VE292 with key tuple -10 -8 -4 Inserted VE593 with key tuple -10 -2 -9 Key -8 7 9 not found! Min of dim 2 is VE593 Key -5 -4 -10 not found! Max of dim 2 is VE117 Key 2 6 -9 not found! Key -5 -7 -4 not found! Max of dim 1 is VE302 Inserted VE496 with key tuple 4 -7 6 Value found: VE270 with key -7 2 -9 Value found: VE593 with key -10 -2 -9 Max of dim 1 is VE302 Min of dim 1 is VE119 Value found: VE119 with key -4 -9