{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"livecodebench","formal_name":"LiveCodeBench","introduction":"LiveCodeBench continuously collects new competitive-programming problems to evaluate coding capabilities. Its initial release_v1 contains 400 problems, with source platform, contest date, and dataset version tracked explicitly.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://livecodebench.github.io/","indexing_mode":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"de047ad1-c643-5670-871a-176581f4a4bc","task_key":"release~5fv1--test--2727","task_revision_id":"2","upstream_id":"2727","short_description":"number-of-senior-citizens","config":"release_v1","split":"test","body":"{\"contest_date\":\"2023-05-13T00:00:00\",\"contest_id\":\"biweekly-contest-104\",\"difficulty\":\"easy\",\"platform\":\"leetcode\",\"question_content\":\"You are given a 0-indexed array of strings details. Each element of details provides information about a given passenger compressed into a string of length 15. The system is such that:\\n\\nThe first ten characters consist of the phone number of passengers.\\nThe next character denotes the gender of the person.\\nThe following two characters are used to indicate the age of the person.\\nThe last two characters determine the seat allotted to that person.\\n\\nReturn the number of passengers who are strictly more than 60 years old.\\n \\nExample 1:\\n\\nInput: details = [\\\"7868190130M7522\\\",\\\"5303914400F9211\\\",\\\"9273338290F4010\\\"]\\nOutput: 2\\nExplanation: The passengers at indices 0, 1, and 2 have ages 75, 92, and 40. Thus, there are 2 people who are over 60 years old.\\n\\nExample 2:\\n\\nInput: details = [\\\"1313579440F2036\\\",\\\"2921522980M5644\\\"]\\nOutput: 0\\nExplanation: None of the passengers are older than 60.\\n\\n \\nConstraints:\\n\\n1 <= details.length <= 100\\ndetails[i].length == 15\\ndetails[i] consists of digits from '0' to '9'.\\ndetails[i][10] is either 'M' or 'F' or 'O'.\\nThe phone numbers and seat numbers of the passengers are distinct.\",\"question_title\":\"number-of-senior-citizens\",\"starter_code\":\"class Solution:\\n    def countSeniors(self, details: List[str]) -> int:\\n        \"}","display_format":"text","language":"","answer_status":"external_grader","assets":[],"source_url":"https://livecodebench.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}