API Response (JSON)
{
"problem": {
"name": "[KMOI R1] 五五五五(Easy)",
"description": {
"content": "小宋有一个序列 $a_1,a_2\\dots,a_n$,其中对于 $i\\in [1,n]$,满足 $a_i\\in[0,9]$。 对于 $1\\le l\\le r\\le n$,他记 $f(l,r)$ 等于 $\\overline{a_la_{(l+1)}\\dots a_r}$ 的末尾连续 $5$ 的个数。 例如:对于序列 $a=\\{1,1,4,5,1,4\\}$,$f(2,4)=1,f(1,3)=0$。",
"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": "LGP9710"
},
"statements": [
{
"statement_type": "Markdown",
"content": "小宋有一个序列 $a_1,a_2\\dots,a_n$,其中对于 $i\\in [1,n]$,满足 $a_i\\in[0,9]$。\n\n对于 $1\\le l\\le r\\le n$,他记 $f(l,r)$ 等于 $\\overline{a_la_{(l+1)}\\dots a_r}$ 的末尾连续 $5$ 的个数。\n\n例如:对于序列 $a=\\{1,1,4,5,1,4\\}$,$f(2,4)=1,f(1,3)=0$。...",
"is_translate": false,
"language": "English"
}
]
}