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 0 -1 2 not found!
Key 2 -5 1 not found when erasing!
Inserted VE193 with key tuple -10 -10 -8
Inserted VE343 with key tuple -6 -9 -7
Key 4 -9 3 not found!
Value found: VE343 with key -6 -9 -7
Inserted VE370 with key tuple 6 -6 1
Value found: VE343 with key -6 -9 -7
Inserted VE510 with key tuple 3 -3 -10
Value found: VE370 with key 0 0 0
Value found: VE482 with key 1 -1 0
Value found: VE482 with key 1 -1 0
Key -5 2 6 not found!
Inserted VE127 with key tuple -4 7 -2
Value found: VE510 with key 3 -3 -10
Key -8 -6 -7 not found!
Key 9 8 7 not found!
Inserted VE190 with key tuple -5 8 6
Key -3 -10 -9 not found!
Value found: VE510 with key 3 -3 -10
Key -6 6 -7 not found!
Inserted VE467 with key tuple 1 1 -1
Inserted VE249 with key tuple 8 -4 -1
Inserted VE543 with key tuple -8 9 -9
Inserted VE229 with key tuple 5 4 0
Value found: VE543 with key -8 9 -9
Inserted VE124 with key tuple 0 -6 -5
Key -10 6 1 not found!
Erased key 0 -6 -5
Value found: VE510 with key 3 -3 -10
Min of dim 2 is