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::out_of_range'
  what():  basic_string::replace: __pos (which is 18446744073709551615) > this->size() (which is 31)

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

Welcome to the library management system, please type your commands.
> Test added to the system.
> Unknown command!
>

JOJ Answer

Welcome to the library management system, please type your commands.
> Test Robustness of Invalid Command added to the system.
> Unknown command!
> Unknown command!
> Student M added to the system.
> Unknown command!
> Unknown command!
> Unknown command!
> Success! Test Robustness of Invalid Command is borrowed by Student M.
> Success! The following book has been returned:
0 Test Robustness of Invalid Command
> Unknown command!
> Unknown command!
> Exit the system!