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 10 -5 7 not found when erasing! Max of dim 1 is VE281 Inserted VE134 with key tuple 2 9 -2 Max of dim 1 is VE134 Min of dim 1 is VE482 Inserted VE342 with key tuple 8 10 -5 Max of dim 1 is VE134 Max of dim 1 is VE134 Inserted VE300 with key tuple 9 -8 7 Min of dim 0 is VE281 Max of dim 0 is VE134 Max of dim 0 is VE134 Max of dim 2 is VE370 Max of dim 1 is VE134 Max of dim 1 is VE134 Max of dim 2 is VE370 Min of dim 0 is VE281 Min of dim 1 is VE300 Max of dim 1 is VE134 Min of dim 0 is VE281 Max of dim 1 is VE134 Max of dim 0 is VE134 Inserted VE301 with key tuple 1 -2 2 Min of dim 1 is VE301 Max of dim 0 is VE134 Min of dim 2 is VE281 Min of dim 2 is VE281 Min of dim 0 is VE281 Inserted VE198 with key tuple 1 -2 -1 Min of dim 2 is VE198 Key -7 -9 9 not found! Inserted VE371 with key tuple 0 -7 0 Key 6 -3 -3 not found when erasing! Max of dim 2 is VE370 Min of dim 1 is VE371 Min of dim 2 is VE198 Min of dim 1 is VE371 Min of dim 2 is VE198 Value found: VE482 with key 1 -1 0 Inserted VE427 with key tuple 3
JOJ Answer
Key 10 -5 7 not found when erasing! Max of dim 1 is VE281 Inserted VE134 with key tuple 2 9 -2 Max of dim 1 is VE134 Min of dim 1 is VE482 Inserted VE342 with key tuple 8 10 -5 Max of dim 1 is VE342 Max of dim 1 is VE342 Inserted VE300 with key tuple 9 -8 7 Min of dim 0 is VE281 Max of dim 0 is VE300 Max of dim 0 is VE300 Max of dim 2 is VE300 Max of dim 1 is VE342 Max of dim 1 is VE342 Max of dim 2 is VE300 Min of dim 0 is VE281 Min of dim 1 is VE300 Max of dim 1 is VE342 Min of dim 0 is VE281 Max of dim 1 is VE342 Max of dim 0 is VE300 Inserted VE301 with key tuple 1 -2 2 Min of dim 1 is VE300 Max of dim 0 is VE300 Min of dim 2 is VE342 Min of dim 2 is VE342 Min of dim 0 is VE281 Inserted VE198 with key tuple 1 -2 -1 Min of dim 2 is VE342 Key -7 -9 9 not found! Inserted VE371 with key tuple 0 -7 0 Key 6 -3 -3 not found when erasing! Max of dim 2 is VE300 Min of dim 1 is VE300 Min of dim 2 is VE342 Min of dim 1 is VE300 Min of dim 2 is VE342 Value found: VE482 with key 1