← 返回 meta 的题目列表Retrieve book names with scores above a certain threshold using an API
类型:online_judge
meta
You are provided with an API that returns the name of a book and its score. The score for the same book can be accumulated. Please write a function that calls this API to retrieve the names of five books with scores greater than 100. If there are fewer than five, continue calling the API until the condition is met. Provide at least three mock return values of API calls as test data.
Example
Input
mock_api_call