API Response (JSON)
{
"problem": {
"name": "[THUPC 2024 初赛] 套娃",
"description": {
"content": "我们定义一个集合的 $\\operatorname{mex}$ 是最小的不在 $S$ 中的非负整数。 给定一个序列 $a_1,\\dots,a_n$,对于每个 $1\\leq k\\leq n$,我们按照如下方式定义 $b_k$: - 对于 $a$ 的所有长为 $k$ 的子区间,求出这个子区间构成的数集的 $\\operatorname{mex}$。 - 对于求出的所有 $\\operatorname{m",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9970"
},
"statements": [
{
"statement_type": "Markdown",
"content": "我们定义一个集合的 $\\operatorname{mex}$ 是最小的不在 $S$ 中的非负整数。\n\n给定一个序列 $a_1,\\dots,a_n$,对于每个 $1\\leq k\\leq n$,我们按照如下方式定义 $b_k$:\n\n- 对于 $a$ 的所有长为 $k$ 的子区间,求出这个子区间构成的数集的 $\\operatorname{mex}$。\n- 对于求出的所有 $\\operatorname{m...",
"is_translate": false,
"language": "English"
}
]
}