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. > There is no book in the system. > There is no customer in the system. > book1 added to the system. > book12 added to the system. > 1 book1 on shelf 3 book12 on shelf > book123 added to the system. > book234 added to the system. > name1 added to the system. > 1 name1 > name2 added to the system. > 1 name1 2 name2 > name3 added to the system. > 1 book1 on shelf 3 book12 on shelf 6 book123 on shelf 9 book234 on shelf > 1 name1 2 name2 3 name3 > Exit the system!
JOJ Answer
Welcome to the library management system, please type your commands. > There is no book in the system. > There is no customer in the system. > book1 added to the system. > book12 added to the system. > 1 book1 on shelf 12 book12 on shelf > book123 added to the system. > book234 added to the system. > name1 added to the system. > 1 name1 > name2 added to the system. > 1 name1 2 name2 > name3 added to the system. > 1 book1 on shelf 12 book12 on shelf 123 book123 on shelf 234 book234 on shelf > 1 name1 2 name2 3 name3 > Exit the system!