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

Value found: VE482 with key 1 -1 0
Inserted VE225 with key tuple 7 5 -7
Inserted VE379 with key tuple 10 4 3
Erased key 10 4 3
Inserted VE247 with key tuple -4 8 -10
Inserted VE212 with key tuple 10 3 1
Inserted VE511 with key tuple 4 -7 -3
Inserted VE191 with key tuple 4 -1 -10
Max of dim 2 is VE212
Inserted VE245 with key tuple -10 8 -2
Inserted VE383 with key tuple -10 -1 5
Inserted VE143 with key tuple 3 6 9
Max of dim 0 is VE212
Inserted VE163 with key tuple -7 -9 -2
Inserted VE220 with key tuple 2 -6 4
Max of dim 2 is VE143
Inserted VE216 with key tuple 3 8 -3
Min of dim 1 is VE163
Max of dim 0 is VE212
Inserted VE454 with key tuple 6 -10 -8
Inserted VE273 with key tuple -9 2 -2
Inserted VE185 with key tuple -4 -2 -8
Inserted VE391 with key tuple 9 -9 -1
Inserted VE579 with key tuple 9 7 2
Inserted VE501 with key tuple 6 -9 8
Min of dim 1 is VE454
Max of dim 0 is VE212
Inserted VE128 with key tuple 8 -9 -5
Inserted VE195 with key tuple -10 6 7
Inserted VE562 with key tuple 7