API Response (JSON)
{
"problem": {
"name": "G. Almost Increasing Array",
"description": {
"content": "We call an array _almost increasing_ if we can erase not more than one element from it so that the array becomes strictly increasing (that is, every element is striclty greater than every element befo",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF946G"
},
"statements": [
{
"statement_type": "Markdown",
"content": "We call an array _almost increasing_ if we can erase not more than one element from it so that the array becomes strictly increasing (that is, every element is striclty greater than every element befo...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "我们称一个数组为“几乎递增”的,如果我们可以从中删除不超过一个元素,使得该数组变为严格递增(即,每个元素都严格大于它之前的所有元素)。\n\n给你一个包含 #cf_span[n] 个元素的数组 #cf_span[a]。你可以将任意元素替换为任意整数(你可以根据需要进行任意次替换)。为了使数组成为“几乎递增”的,你至少需要进行多少次替换?\n\n第一行包含一个整数 #cf_span[n] (#cf_span...",
"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 with $ a_i \\in [1, 10^9] $.\n\n**Constraints** \n$ 2 \\leq n \\leq 200...",
"is_translate": false,
"language": "Formal"
}
]
}