API Response (JSON)
{
"problem": {
"name": "简单数列",
"description": {
"content": "给你一个数 $n$,你需要求出一个长度为 $n$ 的数组 $a$,(下标从 $1$ 开始,且元素都为 $1,2,3$ 或 $4$),使得: * 对于第 $i$ 个数,对于所有的 $1 \\le len \\le \\lfloor\\frac{i}{2}\\rfloor$, $a_{i-len+1\\dots i}$ 与 $a_{i-len\\times2+1\\dots i-len}$ 不相同。($\\lfloo",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 131072
},
"difficulty": {
"LuoguStyle": "P3"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8248"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给你一个数 $n$,你需要求出一个长度为 $n$ 的数组 $a$,(下标从 $1$ 开始,且元素都为 $1,2,3$ 或 $4$),使得:\n\n* 对于第 $i$ 个数,对于所有的 $1 \\le len \\le \\lfloor\\frac{i}{2}\\rfloor$, $a_{i-len+1\\dots i}$ 与 $a_{i-len\\times2+1\\dots i-len}$ 不相同。($\\lfloo...",
"is_translate": false,
"language": "English"
}
]
}