Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Your Answer

Welcome to the library management system, please type your commands.
> book1 added to the system.
> book12 added to the system.
> book123 added to the system.
> book1 added to the system.
> book5 added to the system.
> name1 added to the system.
> name2 added to the system.
> name3 added to the system.
> 1 book1 on shelf
12 book12 on shelf
123 book123 on shelf
1234 book1 on shelf
12345 book5 on shelf
> 1 name1
22 name2
333 name3
> 123 book123 on shelf
> 1 book1 on shelf
1234 book1 on shelf
> 12 book12 on shelf
> 12 book12 on shelf
> Success! book12 is borrowed by name1.
> Book borrowed by name1:
12 book12
> Book borrowed by name2:
> Book borrowed by name3:
> 12 book12 borrowed
> 12 book12 borrowed
> Fail! The book was borrowed by another customer.
> 12 book12 borrowed
> 12 book12 borrowed
> Fail! The book was borrowed by another customer.
> Book borrowed by name1:
12 book12
> Book borrowed by name2:
> Book borrowed by name3:
> 12 book12 borrowed
> 12 book12 borrowed
> Success! book123 is borrowed by name2.
> 

JOJ Answer

Welcome to the library management system, please type your commands.
> book1 added to the system.
> book12 added to the system.
> book123 added to the system.
> book1 added to the system.
> book5 added to the system.
> name1 added to the system.
> name2 added to the system.
> name3 added to the system.
> 1 book1 on shelf
12 book12 on shelf
123 book123 on shelf
1234 book1 on shelf
12345 book5 on shelf
> 1 name1
22 name2
333 name3
> 123 book123 on shelf
> 1 book1 on shelf
1234 book1 on shelf
> 12 book12 on shelf
> 12 book12 on shelf
> Success! book12 is borrowed by name1.
> Book borrowed by name1:
12 book12
> Book borrowed by name2:
> Book borrowed by name3:
> 12 book12 borrowed
> 12 book12 borrowed
> Fail! The book was borrowed by another customer.
> 12 book12 borrowed
> 12 book12 borrowed
> Fail! The book was borrowed by another customer.
> Book borrowed by name1:
12 book12
> Book borrowed by name2:
> Book borrowed by name3:
> 12 book12 borrowed
> 12 book12 borrowed
> Success! book123 is borrowed by name2.
>