Notes
This function is in beta test. Please help improve it in the issues
here.
Your Answer
Welcome to the library management system, please type your commands. > buk1 added to the system. > Unknown command! > buk12 added to the system. > Unknown command! > buk123 added to the system. > Unknown command! > buk1 added to the system. > Unknown command! > buk5 added to the system. > Unknown command! > name1 added to the system. > Unknown command! > name2 added to the system. > Unknown command! > name3 added to the system. > Unknown command! > 0001 buk1 on shelf 0012 buk12 on shelf 0123 buk123 on shelf 1234 buk1 on shelf 12345 buk5 on shelf > Unknown command! > 0001 name1 0022 name2 0333 name3 > Unknown command! > 0123 buk123 on shelf > Unknown command! > 0001 buk1 on shelf 1234 buk1 on shelf > Unknown command! > Success! buk12 is borrowed by name1. > Unknown command! > Fail! The book was borrowed by another customer. > Unknown command! > Fail! The book was borrowed by another customer. > Unknown command! > 0001 buk1 on shelf 1234 buk1 on shelf > 0012 buk12 borrowed > 0123 buk1
JOJ Answer
Welcome to the library management system, please type your commands. > buk1 added to the system. > Unknown command! > buk12 added to the system. > Unknown command! > buk123 added to the system. > Unknown command! > buk1 added to the system. > Unknown command! > buk5 added to the system. > Unknown command! > name1 added to the system. > Unknown command! > name2 added to the system. > Unknown command! > name3 added to the system. > Unknown command! > 0001 buk1 on shelf 0012 buk12 on shelf 0123 buk123 on shelf 1234 buk1 on shelf 12345 buk5 on shelf > Unknown command! > 0001 name1 0022 name2 0333 name3 > Unknown command! > 0123 buk123 on shelf > Unknown command! > 0001 buk1 on shelf 1234 buk1 on shelf > Unknown command! > Success! buk12 is borrowed by name1. > Unknown command! > Fail! The book was borrowed by another customer. > Unknown command! > Fail! The book was borrowed by another customer. > Unknown command! > 0001 buk1 on shelf 1234 buk1 on shelf > 0012 buk12 borrowed > 0123 buk123 on shelf > Success! buk1