Book 1
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Implement a structure Book.
struct Book { int book_id; char title[50]; char author[50]; char subject[50]; };
Input
The first line contains the number of records n (n ≤ 100). n records follow, each field is specified on a separate line. Then follows the number of queries q (q ≤ 100). Each request contains book_id of the book.
Output
For each query print the title and the author of the book as shown in the example. If no such book exists, print "Book not found".
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 36%