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

Min of dim 1 is VE482

JOJ Answer

Min of dim 1 is VE482
Traversing the tree after assignment operator:
VE281
VE370
VE482
Key 6 -1 -9 not found!
Inserted VE563 with key tuple 9 -7 7
Max of dim 0 is VE563
Max of dim 2 is VE563
Inserted VE352 with key tuple 1 1 -6
Min of dim 0 is VE281
Key 2 -8 4 not found!
Min of dim 1 is VE563
Traversing the tree after assignment operator:
VE281
VE370
VE563
VE482
VE352
Traversing the tree after assignment operator:
VE281
VE370
VE563
VE482
VE352
Inserted VE382 with key tuple -9 -3 2
Key -1 5 6 not found when erasing!
Min of dim 0 is VE382
Key -5 6 -8 not found when erasing!
Inserted VE580 with key tuple -6 -9 -8
Inserted VE600 with key tuple -4 -2 8
Key -8 -10 5 not found!
Key -7 -9 9 not found!
Inserted VE386 with key tuple 9 -4 0
Key 8 -7 0 not found!
Max of dim 1 is VE281
Inserted VE391 with key tuple 7 -10 -1
Max of dim 0 is VE386
Key -5 7 -1 not found!
Min of dim 2 is VE580
Min of dim 2 is VE580
Max of dim 2 is VE600
Max of dim 2 is VE600
Inserted VE600 with key tuple 5 5 -3
Max of dim 1 is VE600
Key -2 -8