API Response (JSON)
{
"problem": {
"name": "[ICPC 2022 Xi'an R] Strange Sum",
"description": {
"content": "Given a sequence $a_1, a_2, \\ldots, a_n$. You are going to select zero or more elements of $a$ so that: if you select $a_i$, then in any interval of length $i$ (formally, in $a[j, j + i - 1]$ for any",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P2"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9367"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Given a sequence $a_1, a_2, \\ldots, a_n$.\n\nYou are going to select zero or more elements of $a$ so that: if you select $a_i$, then in any interval of length $i$ (formally, in $a[j, j + i - 1]$ for any...",
"is_translate": false,
"language": "English"
}
]
}