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

Key -2 -9 0 not found!
Inserted VE565 with key tuple -10 -1 -8
Key -10 -3 5 not found!
Key -4 -1 -8 not found!
Inserted VE455 with key tuple -6 1 -3
Key -5 4 -8 not found when erasing!
Max of dim 2 is VE482
Key -3 -1 3 not found!
Min of dim 0 is VE565
Inserted VE461 with key tuple 9 -6 3
Inserted VE377 with key tuple -9 -1 -7
Inserted VE434 with key tuple -6 -5 3
Traversing the tree after assignment operator:
VE565
VE377
VE281
VE434
VE280
VE455
VE370
VE461
VE482
Min of dim 0 is VE565
Key -5 2 -4 not found when erasing!
Max of dim 1 is VE455
Inserted VE330 with key tuple 3 7 7
Key 7 -7 -2 not found!
Min of dim 0 is VE565
Key -1 -3 7 not found!
Key -5 1 9 not found when erasing!
Inserted VE588 with key tuple 8 -4 -1
Key -9 -8 5 not found when erasing!
Key -4 -6 0 not found when erasing!
Min of dim 0 is VE565
Key -5 5 -7 not found!
Max of dim 0 is VE461
Min of dim 1 is VE461
Key 3 8 -7 not found!
Inserted VE576 with key tuple -9 5 7
Inserted VE438 with key tuple -4 -5 -7
Key 1 -8 -6 not found!
Inserted VE535 wit

JOJ Answer

Key -2 -9 0 not found!
Inserted VE565 with key tuple -10 -1 -8
Key -10 -3 5 not found!
Key -4 -1 -8 not found!
Inserted VE455 with key tuple -6 1 -3
Key -5 4 -8 not found when erasing!
Max of dim 2 is VE482
Key -3 -1 3 not found!
Min of dim 0 is VE565
Inserted VE461 with key tuple 9 -6 3
Inserted VE377 with key tuple -9 -1 -7
Inserted VE434 with key tuple -6 -5 3
Traversing the tree after assignment operator:
VE565
VE377
VE455
VE434
VE281
VE370
VE461
VE482
Min of dim 0 is VE565
Key -5 2 -4 not found when erasing!
Max of dim 1 is VE281
Inserted VE330 with key tuple 3 7 7
Key 7 -7 -2 not found!
Min of dim 0 is VE565
Key -1 -3 7 not found!
Key -5 1 9 not found when erasing!
Inserted VE588 with key tuple 8 -4 -1
Key -9 -8 5 not found when erasing!
Key -4 -6 0 not found when erasing!
Min of dim 0 is VE565
Key -5 5 -7 not found!
Max of dim 0 is VE461
Min of dim 1 is VE461
Key 3 8 -7 not found!
Inserted VE576 with key tuple -9 5 7
Inserted VE438 with key tuple -4 -5 -7
Key 1 -8 -6 not found!
Inserted VE535 with key