Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
Welcome to the library management system, please type your commands. > Realastic added to the system. > Vg101. added to the system. > Lab5 added to the system. > Student added to the system. > International added to the system. > Success! Vg101. is borrowed by Student. > Success! Lab5 is borrowed by Student. > Success! Realastic is borrowed by International. > Success! The following book has been returned: 1 Vg101. > Success! Vg101. is borrowed by International. > Fail! The book was borrowed by another customer. > Unknown command! > Success! The following book has been returned: 0 Realastic > Success! The following book has been returned: 1 Vg101. > Success! The following book has been returned: 2 Lab5 > Success! Lab5 is borrowed by International. > Exit the system!
JOJ Answer
Welcome to the library management system, please type your commands. > Realastic Case added to the system. > Vg101. Introduction to Computer and Programming (Fall 2020) Homework #6 added to the system. > Lab5 – Interpreter added to the system. > Student M added to the system. > International Student N added to the system. > Success! Vg101. Introduction to Computer and Programming (Fall 2020) Homework #6 is borrowed by Student M. > Success! Lab5 – Interpreter is borrowed by Student M. > Success! Realastic Case is borrowed by International Student N. > Success! The following book has been returned: 1 Vg101. Introduction to Computer and Programming (Fall 2020) Homework #6 > Success! Vg101. Introduction to Computer and Programming (Fall 2020) Homework #6 is borrowed by International Student N. > Fail! The book was borrowed by another customer. > Unknown command! > Success! The following book has been returned: 0 Realastic Case > Success! The following book has been returned: 1 Vg101. Introduction to Computer