Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

terminate called after throwing an instance of 'std::range_error'
  what():  Out of range!

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is -6, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

Key 6 8 5 not found!
Max of dim 2 is VE482
Max of dim 2 is VE482
Inserted VE535 with key tuple -5 -10 7
Traversing the tree after assignment operator:
VE535
VE281
VE370
VE482

JOJ Answer

Key 6 8 5 not found!
Max of dim 2 is VE482
Max of dim 2 is VE482
Inserted VE535 with key tuple -5 -10 7
Traversing the tree after assignment operator:
VE535
VE281
VE370
VE482
Traversing the tree after assignment operator:
VE535
VE281
VE370
VE482
Min of dim 2 is VE281
Inserted VE443 with key tuple 1 -8 6
Key -3 6 -9 not found!
Min of dim 2 is VE281
Key 1 2 2 not found!
Inserted VE597 with key tuple 7 6 0
Key 4 -5 6 not found when erasing!
Inserted VE394 with key tuple 2 2 -3
Key 4 5 8 not found!
Key -5 6 3 not found!
Key -8 8 4 not found!
Key -8 8 6 not found!
Max of dim 0 is VE597
Traversing the tree after assignment operator:
VE535
VE281
VE370
VE443
VE482
VE394
VE597
Inserted VE476 with key tuple -9 1 -10
Key -8 -6 0 not found!
Key -8 4 2 not found when erasing!
Key 7 5 -7 not found!
Traversing the tree after assignment operator:
VE476
VE535
VE281
VE370
VE443
VE482
VE394
VE597
Key -1 -8 9 not found when erasing!
Traversing the tree after assignment operator:
VE476
VE535
VE281
VE370
VE443
VE482
VE394
VE597
In