API Response (JSON)
{
"problem": {
"name": "D. Polycarp and Div 3",
"description": {
"content": "Polycarp likes numbers that are divisible by 3. He has a huge number $s$. Polycarp wants to cut from it the maximum number of numbers that are divisible by $3$. To do this, he makes an arbitrary numb",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF1005D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Polycarp likes numbers that are divisible by 3.\n\nHe has a huge number $s$. Polycarp wants to cut from it the maximum number of numbers that are divisible by $3$. To do this, he makes an arbitrary numb...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Polycarp 喜欢能被 3 整除的数字。\n\n他有一个巨大的数字 $s$。Polycarp 希望从其中切割出尽可能多的能被 3 整除的数字。为此,他可以在任意相邻数字对之间进行任意数量的垂直切割。经过 $m$ 次切割后,总共会得到 $m + 1$ 个部分。Polycarp 会分析每个得到的数字,并统计其中能被 3 整除的数字的个数。\n\n例如,如果原始数字是 $s = 3121$,那么 Polyc...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ s = d_1 d_2 \\dots d_n $ be a string of $ n $ digits, where $ d_i \\in \\{0,1,\\dots,9\\} $, $ d_1 \\neq 0 $, and $ 1 \\leq n \\leq 2 \\cdot 10^5 $. \nA *cut configuration* is a partiti...",
"is_translate": false,
"language": "Formal"
}
]
}