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::bad_alloc'
  what():  std::bad_alloc

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


        

JOJ Answer

Key 3 9 4 not found!
Traversing the tree after assignment operator:
VE281
VE370
VE482
Inserted VE163 with key tuple 6 2 -8
Traversing the tree after assignment operator:
VE281
VE370
VE482
VE163
Inserted VE299 with key tuple 7 -4 5
Traversing the tree after assignment operator:
VE281
VE370
VE299
VE482
VE163
Inserted VE176 with key tuple -7 -2 -7
Max of dim 0 is VE299
Value found: VE176 with key -7 -2 -7
Traversing the tree:
VE176
VE281
VE370
VE299
VE482
VE163