API Response (JSON)
{
"problem": {
"name": "『MdOI R5』Variance",
"description": {
"content": "给定两个长度为 $n$ 的整数序列 $a,b$,满足: - $\\forall i\\in [1,n),a_i\\le a_{i+1},b_i\\le b_{i+1}$。 - $\\forall i\\in [1,n],a_i\\le b_i$。 有一个长度为 $n$ 的实数序列 $c$,满足 $c_i\\in [a_i,b_i]$,求 $c$ 的方差的最大值。 你只需要输出答案乘上 $n^2$ 之后的结果",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P4"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8920"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定两个长度为 $n$ 的整数序列 $a,b$,满足:\n- $\\forall i\\in [1,n),a_i\\le a_{i+1},b_i\\le b_{i+1}$。\n\n- $\\forall i\\in [1,n],a_i\\le b_i$。\n\n有一个长度为 $n$ 的实数序列 $c$,满足 $c_i\\in [a_i,b_i]$,求 $c$ 的方差的最大值。\n\n你只需要输出答案乘上 $n^2$ 之后的结果...",
"is_translate": false,
"language": "English"
}
]
}