API Response (JSON)
{
"problem": {
"name": "BZOJ4355 Play with sequence",
"description": {
"content": "维护一个长度为 $n$ 的整数序列 $a$,支持三种操作: - `1 u v c`,对于 $\\forall i \\in [u,v]$,将 $a_i$ 更改为 $c$; - `2 u v c`,对于 $\\forall i \\in [u,v]$,将 $a_i$ 更改为 $\\max(a_i+c,0)$; - `3 u v`,输出 $\\sum \\limits_{i=u}^v [a_i=0]$ 的值。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1500,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10638"
},
"statements": [
{
"statement_type": "Markdown",
"content": "维护一个长度为 $n$ 的整数序列 $a$,支持三种操作:\n\n- `1 u v c`,对于 $\\forall i \\in [u,v]$,将 $a_i$ 更改为 $c$;\n- `2 u v c`,对于 $\\forall i \\in [u,v]$,将 $a_i$ 更改为 $\\max(a_i+c,0)$;\n- `3 u v`,输出 $\\sum \\limits_{i=u}^v [a_i=0]$ 的值。\n\n...",
"is_translate": false,
"language": "English"
}
]
}