Record Case Detail

Notes

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

Stderr

free(): double free detected in tcache 2

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

Inserted VE289 with key tuple 5 0 -3
Inserted VE517 with key tuple 4 8 -8
Key -7 -7 -8 not found!
Inserted VE415 with key tuple -2 -1 -3
Inserted VE518 with key tuple -10 8 8
Inserted VE396 with key tuple 6 -4 1
Max of dim 2 is VE518
Key 3 5 -2 not found when erasing!
Min of dim 0 is VE518
Inserted VE490 with key tuple 8 -3 -9
Key 5 2 8 not found when erasing!
Key -9 6 -1 not found when erasing!
Key -3 1 -1 not found!
Key 3 -2 -6 not found!
Inserted VE391 with key tuple 7 -2 8
Inserted VE444 with key tuple -6 -6 -9
Inserted VE305 with key tuple -4 -6 7
Inserted VE409 with key tuple -4 2 6
Key 6 0 -9 not found!
Inserted VE382 with key tuple -9 2 5
Inserted VE505 with key tuple -5 0 -5
Max of dim 1 is VE517
Min of dim 0 is VE518
Inserted VE415 with key tuple 3 9 -7
Inserted VE570 with key tuple -4 -2 8
Key 9 -4 0 not found when erasing!
Inserted VE316 with key tuple -8 2 9

JOJ Answer

Inserted VE289 with key tuple 5 0 -3
Inserted VE517 with key tuple 4 8 -8
Key -7 -7 -8 not found!
Inserted VE415 with key tuple -2 -1 -3
Inserted VE518 with key tuple -10 8 8
Inserted VE396 with key tuple 6 -4 1
Max of dim 2 is VE518
Key 3 5 -2 not found when erasing!
Min of dim 0 is VE518
Inserted VE490 with key tuple 8 -3 -9
Key 5 2 8 not found when erasing!
Key -9 6 -1 not found when erasing!
Key -3 1 -1 not found!
Key 3 -2 -6 not found!
Inserted VE391 with key tuple 7 -2 8
Inserted VE444 with key tuple -6 -6 -9
Inserted VE305 with key tuple -4 -6 7
Inserted VE409 with key tuple -4 2 6
Key 6 0 -9 not found!
Inserted VE382 with key tuple -9 2 5
Inserted VE505 with key tuple -5 0 -5
Max of dim 1 is VE517
Min of dim 0 is VE518
Inserted VE415 with key tuple 3 9 -7
Inserted VE570 with key tuple -4 -2 8
Key 9 -4 0 not found when erasing!
Inserted VE316 with key tuple -8 2 9
Traversing the tree after assignment operator:
VE444
VE505
VE415
VE305
VE570
VE281
VE382
VE409
VE518
VE316
VE370
VE490
VE396
VE391
VE482
VE4