API Response (JSON)
{
"problem": {
"name": "[蓝桥杯 2022 省 A] 求和",
"description": {
"content": "给定 $n$ 个整数 $a_{1}, a_{2}, \\cdots, a_{n}$, 求它们两两相乘再相加的和,即 $$ S=a_{1} \\cdot a_{2}+a_{1} \\cdot a_{3}+\\cdots+a_{1} \\cdot a_{n}+a_{2} \\cdot a_{3}+\\cdots+a_{n-2} \\cdot a_{n-1}+a_{n-2} \\cdot a_{n}+a_{n-1} \\",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 131072
},
"difficulty": {
"LuoguStyle": "P2"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8772"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定 $n$ 个整数 $a_{1}, a_{2}, \\cdots, a_{n}$, 求它们两两相乘再相加的和,即\n\n$$\nS=a_{1} \\cdot a_{2}+a_{1} \\cdot a_{3}+\\cdots+a_{1} \\cdot a_{n}+a_{2} \\cdot a_{3}+\\cdots+a_{n-2} \\cdot a_{n-1}+a_{n-2} \\cdot a_{n}+a_{n-1} \\...",
"is_translate": false,
"language": "English"
}
]
}