API Response (JSON)
{
"problem": {
"name": "[语言月赛 202512] 加权求和",
"description": {
"content": "给定 $n$ 个正整数 $x_1, x_2,\\dots x_n$,和另外 $n$ 个正整数 $p_1, p_2, \\dots, p_n$,令 $q = p_1 + p_2 + \\dots + p_n$,定义它们的**期望**为: $$ E = \\frac{1}{q}(x_1 \\times p_1 + x_2 \\times p_2 + \\dots x_n \\times p_n) $$ 进一步地",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P1"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGB4441"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定 $n$ 个正整数 $x_1, x_2,\\dots x_n$,和另外 $n$ 个正整数 $p_1, p_2, \\dots, p_n$,令 $q = p_1 + p_2 + \\dots + p_n$,定义它们的**期望**为:\n\n$$\nE = \\frac{1}{q}(x_1 \\times p_1 + x_2 \\times p_2 + \\dots x_n \\times p_n)\n$$\n\n进一步地,...",
"is_translate": false,
"language": "English"
}
]
}