API Response (JSON)
{
"problem": {
"name": "『STA - R5』ReLyna",
"description": {
"content": "你手中有一个数字 $x$。走到位置 $i$ 时你可以将手中的数字变为 $x+a_i$ 或 $x\\times b_i$。 有 $m$ 次操作。 - `1 x y z`,执行 $a_x\\gets y$,$b_x\\gets z$。 - `2 l r`,查询若你从 $[l,r]$ 的所有子区间中等概率选择一个子区间 $[l',r']$,则你从 $l'$ 走到 $r'$ 后手中的数的最大值的期望是多少",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 5000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10399"
},
"statements": [
{
"statement_type": "Markdown",
"content": "你手中有一个数字 $x$。走到位置 $i$ 时你可以将手中的数字变为 $x+a_i$ 或 $x\\times b_i$。\n\n有 $m$ 次操作。\n\n- `1 x y z`,执行 $a_x\\gets y$,$b_x\\gets z$。\n\n- `2 l r`,查询若你从 $[l,r]$ 的所有子区间中等概率选择一个子区间 $[l',r']$,则你从 $l'$ 走到 $r'$ 后手中的数的最大值的期望是多少...",
"is_translate": false,
"language": "English"
}
]
}