API Response (JSON)
{
"problem": {
"name": "C. Remove Extra One",
"description": {
"content": "You are given a permutation _p_ of length _n_. Remove one element from permutation to make the number of records the maximum possible. We remind that in a sequence of numbers _a_1, _a_2, ..., _a__k_ ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF900C"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a permutation _p_ of length _n_. Remove one element from permutation to make the number of records the maximum possible.\n\nWe remind that in a sequence of numbers _a_1, _a_2, ..., _a__k_ ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定一个长度为 $n$ 的排列 $p$。请从该排列中删除一个元素,使得记录的个数最大化。\n\n我们提醒你,在一个数列 $[a_1, a_2, ..., a_k]$ 中,元素 $a_i$ 是一个 _记录_,当且仅当对每个整数 $j$($1 ≤ j < i$)都有:$a_j < a_i$。\n\n第一行包含一个整数 $n$($1 ≤ n ≤ 10^5$)——排列的长度。\n\n第二行包含 $n$ 个整数 $...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ with $ 1 \\leq n \\leq 10^5 $. \nLet $ P = (p_1, p_2, \\dots, p_n) $ be a permutation of $ \\{1, 2, \\dots, n\\} $. \n\nFor a sequence $ A = (a_1, a_2, \\dots, a_k...",
"is_translate": false,
"language": "Formal"
}
]
}