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. > Cho added to the system. > Songliang added to the system. > IntroToCircuit(1) added to the system. > IntroToCircuit(1) added to the system. > 2151 IntroToCircuit(1) on shelf > 2152 IntroToCircuit(1) on shelf > Success! IntroToCircuit(1) is borrowed by Cho. > Success! IntroToCircuit(1) is borrowed by Cho. > Fail! The book was borrowed by another customer. > 2151 IntroToCircuit(1) borrowed 2152 IntroToCircuit(1) borrowed > 2151 Cho 2152 Songliang > MK added to the system. > qyy added to the system. > cangshu(small) added to the system. > IntroToFake added to the system. > Success! IntroToFake is borrowed by cangshu(small). > Fail! The book was borrowed by another customer. > Success! The following book has been returned: 990 IntroToFake > 990 IntroToFake on shelf > physics2 added to the system. > 2601 physics2 on shelf > Fail! The book has not been borrowed. > Unknown command! > Unknown command! > Success! physics2 is borrowed by qyy. > Book
JOJ Answer
Welcome to the library management system, please type your commands. > Cho added to the system. > Songliang added to the system. > IntroToCircuit(1) added to the system. > IntroToCircuit(1) added to the system. > 2151 IntroToCircuit(1) on shelf 2152 IntroToCircuit(1) on shelf > Success! IntroToCircuit(1) is borrowed by Cho. > Success! IntroToCircuit(1) is borrowed by Cho. > Fail! The book was borrowed by another customer. > 2151 IntroToCircuit(1) borrowed 2152 IntroToCircuit(1) borrowed > 2151 Cho 2152 Songliang > MK added to the system. > qyy added to the system. > cangshu(small) added to the system. > IntroToFake added to the system. > Success! IntroToFake is borrowed by cangshu(small). > Fail! The book was borrowed by another customer. > Success! The following book has been returned: 990 IntroToFake > 990 IntroToFake on shelf > physics2 added to the system. > 2601 physics2 on shelf > Fail! The book has not been borrowed. > Unknown command! > Unknown command! > Success! physics2