API Response (JSON)
{
"problem": {
"name": "F. Almost Permutation",
"description": {
"content": "Recently Ivan noticed an array _a_ while debugging his code. Now Ivan can't remember this array, but the bug he was trying to fix didn't go away, so Ivan thinks that the data from this array might hel",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF863F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Recently Ivan noticed an array _a_ while debugging his code. Now Ivan can't remember this array, but the bug he was trying to fix didn't go away, so Ivan thinks that the data from this array might hel...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "最近,Ivan 在调试代码时注意到一个数组 #cf_span[a]。现在 Ivan 已经不记得这个数组了,但他试图修复的 bug 仍然存在,因此他认为这个数组中的数据可能有助于他复现该 bug。\n\nIvan 清楚地记得,该数组包含 #cf_span[n] 个元素,每个元素的值不小于 #cf_span[1] 且不大于 #cf_span[n]。此外,他还记得 #cf_span[q] 条关于该数组的事实...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, q \\in \\mathbb{Z} $ with $ 1 \\leq n \\leq 50 $, $ 0 \\leq q \\leq 100 $. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be an array where each $ a_i \\in \\{1, 2, \\dots, n\\} $. \nLet $ \\tex...",
"is_translate": false,
"language": "Formal"
}
]
}