API Response (JSON)
{
"problem": {
"name": "[Ynoi1999] SMV CC-64“蝰蛇”",
"description": {
"content": "给序列 $a_1,\\dots,a_n$ 和排列 $b_1,\\dots,b_n$,共有 $m$ 次操作: 修改操作:给定 $x,y$,将 $a_x$ 改为 $y$; 查询操作:给定 $l,r,x$,查区间 $[l,r]$ 内最长的子区间 $[l',r']$(即满足 $l\\le l'\\le r'\\le r$),使得对 $l'\\le i<r'$ 有 $a_{i+1}=b_{a_i}$,且存在 $l'",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 8000,
"memory_limit": 2097152
},
"difficulty": {
"LuoguStyle": "P7"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10151"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给序列 $a_1,\\dots,a_n$ 和排列 $b_1,\\dots,b_n$,共有 $m$ 次操作:\n\n修改操作:给定 $x,y$,将 $a_x$ 改为 $y$;\n\n查询操作:给定 $l,r,x$,查区间 $[l,r]$ 内最长的子区间 $[l',r']$(即满足 $l\\le l'\\le r'\\le r$),使得对 $l'\\le i<r'$ 有 $a_{i+1}=b_{a_i}$,且存在 $l'...",
"is_translate": false,
"language": "English"
}
]
}