API Response (JSON)
{
"problem": {
"name": "A. Lesha and array splitting",
"description": {
"content": "One spring day on his way to university Lesha found an array _A_. Lesha likes to split arrays into several parts. This time Lesha decided to split the array _A_ into several, possibly one, new arrays ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF754A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "One spring day on his way to university Lesha found an array _A_. Lesha likes to split arrays into several parts. This time Lesha decided to split the array _A_ into several, possibly one, new arrays ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "一个春天的早晨,Lesha 在去大学的路上发现了一个数组 $A$。Lesha 喜欢将数组拆分成若干部分。这一次,Lesha 决定将数组 $A$ 拆分成若干个(可能只有一个)新数组,使得每个新数组的元素之和不为零。另一个条件是,如果我们按顺序将这些新数组拼接起来,它们将重新组成原始数组 $A$。\n\nLesha 现在很累,所以他请你帮他拆分数组。请帮助 Lesha!\n\n第一行包含一个整数 $n$($1...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the length of the array. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a sequence of integers, where $ a_i \\in \\mathbb{Z} $ and $ -10^3 \\leq a_i \\leq 10^3 $.\n\n*...",
"is_translate": false,
"language": "Formal"
}
]
}