API Response (JSON)
{
"problem": {
"name": "C. Sorting by Subsequences",
"description": {
"content": "You are given a sequence _a_1, _a_2, ..., _a__n_ consisting of **different** integers. It is required to split this sequence into the **maximum** number of subsequences such that after sorting integer",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF844C"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a sequence _a_1, _a_2, ..., _a__n_ consisting of **different** integers. It is required to split this sequence into the **maximum** number of subsequences such that after sorting integer...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给定一个由*不同*整数组成的序列 #cf_span[a1, a2, ..., an]。要求将该序列划分为*最大*数量的子序列,使得将每个子序列中的整数按升序排序后,整个序列也会按升序排列。\n\n对一个子序列进行排序是指:该子序列中包含的数字按升序排列,而未包含在该子序列中的数字保持原有位置不变。\n\n序列中的每个元素必须恰好属于一个子序列。\n\n输入的第一行包含整数 #cf_span[n] (#cf_s...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ be the length of the sequence. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a sequence of distinct integers. \nLet $ P = \\{1, 2, \\dots, n\\} $ be the set of indi...",
"is_translate": false,
"language": "Formal"
}
]
}