Record Case Detail

Notes

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

Stderr


        

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is -11, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer


        

JOJ Answer

The library is full.
Book War and Peace is borrowed.
Book The Catcher in the Rye is borrowed.
Book A Tale of Two Cities is borrowed.
Invalid book ID.
Book ID: 1
Title: 1984
Author: George Orwell
Status: available
Book ID: 2
Title: Pride and Prejudice
Author: Jane Austen
Status: available
Book ID: 3
Title: The Great Gatsby
Author: F. Scott Fitzgerald
Status: available
Book ID: 4
Title: Hamlet
Author: William Shakespeare
Status: available
Book ID: 5
Title: War and Peace
Author: Leo Tolstoy
Status: not available
Book ID: 6
Title: The Catcher in the Rye
Author: J.D. Salinger
Status: not available
Book ID: 7
Title: The Hobbit
Author: J.R.R. Tolkien
Status: available
Book ID: 8
Title: Crime and Punishment
Author: Fyodor Dostoevsky
Status: available
Book ID: 9
Title: A Tale of Two Cities
Author: Charles Dickens
Status: not available
Book ID: 10
Title: David Copperfield
Author: Charles Dickens
Status: available