{"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":"e96a3e3c-c171-54e1-8350-39d08e873f3b","task_key":"release~5fv1--test--2998","task_revision_id":"2","upstream_id":"2998","short_description":"count-symmetric-integers","config":"release_v1","split":"test","body":"{\"contest_date\":\"2023-09-03T00:00:00\",\"contest_id\":\"weekly-contest-361\",\"difficulty\":\"easy\",\"platform\":\"leetcode\",\"question_content\":\"You are given two positive integers low and high.\\nAn integer x consisting of 2 * n digits is symmetric if the sum of the first n digits of x is equal to the sum of the last n digits of x. Numbers with an odd number of digits are never symmetric.\\nReturn the number of symmetric integers in the range [low, high].\\n \\nExample 1:\\n\\nInput: low = 1, high = 100\\nOutput: 9\\nExplanation: There are 9 symmetric integers between 1 and 100: 11, 22, 33, 44, 55, 66, 77, 88, and 99.\\n\\nExample 2:\\n\\nInput: low = 1200, high = 1230\\nOutput: 4\\nExplanation: There are 4 symmetric integers between 1200 and 1230: 1203, 1212, 1221, and 1230.\\n\\n \\nConstraints:\\n\\n1 <= low <= high <= 10^4\",\"question_title\":\"count-symmetric-integers\",\"starter_code\":\"class Solution:\\n    def countSymmetricIntegers(self, low: int, high: int) -> 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":[]}