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
Key 8 -3 5 not found! Min of dim 2 is VE281 Value found: VE370 with key 0 0 0 Value found: VE482 with key 1 -1 0 Inserted VE486 with key tuple -10 -7 -4 Key -3 -10 -3 not found! Key -2 4 2 not found! Inserted VE107 with key tuple 5 0 -4 Max of dim 0 is VE107 Key 10 -3 4 not found! Max of dim 0 is VE107 Key -5 0 9 not found! Traversing the tree after assignment operator: VE486 VE281 VE370 VE482 VE107 Max of dim 2 is VE482 Min of dim 0 is VE486 Key 7 6 -4 not found! Max of dim 2 is VE482 Min of dim 0 is VE486 Erased key 5 0 -4 Inserted VE404 with key tuple -2 -3 0 Max of dim 0 is VE482 Key 6 5 -3 not found! Max of dim 1 is VE281 Inserted VE511 with key tuple -5 9 3 Min of dim 2 is VE486 Inserted VE188 with key tuple -5 0 3 Key 3 3 -10 not found! Value found: VE486 with key -10 -7 -4 Value found: VE486 with key -10 -7 -4 Value found: VE370 with key 0 0 0 Key 10 -1 -10 not found! Inserted VE347 with key tuple -4 1 -10 Inserted VE567 with key tuple 9 10 10 Key -7 0 6 not found! Inserted VE349 with key tuple -10 5
JOJ Answer
Key 8 -3 5 not found! Min of dim 2 is VE281 Value found: VE370 with key 0 0 0 Value found: VE482 with key 1 -1 0 Inserted VE486 with key tuple -10 -7 -4 Key -3 -10 -3 not found! Key -2 4 2 not found! Inserted VE107 with key tuple 5 0 -4 Max of dim 0 is VE107 Key 10 -3 4 not found! Max of dim 0 is VE107 Key -5 0 9 not found! Traversing the tree after assignment operator: VE486 VE281 VE370 VE482 VE107 Max of dim 2 is VE482 Min of dim 0 is VE486 Key 7 6 -4 not found! Max of dim 2 is VE482 Min of dim 0 is VE486 Erased key 5 0 -4 Inserted VE404 with key tuple -2 -3 0 Max of dim 0 is VE482 Key 6 5 -3 not found! Max of dim 1 is VE281 Inserted VE511 with key tuple -5 9 3 Min of dim 2 is VE486 Inserted VE188 with key tuple -5 0 3 Key 3 3 -10 not found! Value found: VE486 with key -10 -7 -4 Value found: VE486 with key -10 -7 -4 Value found: VE370 with key 0 0 0 Key 10 -1 -10 not found! Inserted VE347 with key tuple -4 1 -10 Inserted VE567 with key tuple 9 10 10 Key -7 0 6 not found