API Response (JSON)
{
"problem": {
"name": "A. Splits",
"description": {
"content": "Let's define a split of $n$ as a nonincreasing sequence of positive integers, the sum of which is $n$. For example, the following sequences are splits of $8$: $[4, 4]$, $[3, 3, 2]$, $[2, 2, 1, 1, 1, ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF964A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Let's define a split of $n$ as a nonincreasing sequence of positive integers, the sum of which is $n$.\n\nFor example, the following sequences are splits of $8$: $[4, 4]$, $[3, 3, 2]$, $[2, 2, 1, 1, 1, ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "定义 $n$ 的一个划分是一个非递增的正整数序列,其元素之和为 $n$。\n\n例如,以下序列都是 $8$ 的划分:$[ 4, 4 ]$,$[ 3, 3, 2 ]$,$[ 2, 2, 1, 1, 1, 1 ]$,$[ 5, 2, 1 ]$。\n\n以下序列不是 $8$ 的划分:$[ 1, 7 ]$,$[ 5, 4 ]$,$[ 11, -3 ]$,$[ 1, 1, 4, 1, 1 ]$。\n\n一个划分的权重是...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $. A *split* of $ n $ is a nonincreasing sequence of positive integers $ (a_1, a_2, \\dots, a_k) $ such that $ \\sum_{i=1}^k a_i = n $. \n\nThe *weight* of a sp...",
"is_translate": false,
"language": "Formal"
}
]
}