API Response (JSON)
{
"problem": {
"name": "[JRKSJ R6] Dedicatus545",
"description": {
"content": "对于字符串 $x,y$,定义 $w(x,y)$ 为 $x$ 在 $y$ 中的出现次数。 Index 给了你 $n$ 个字符串 $s_{1\\dots n}$,$m$ 次询问,每次询问给定 $l,r,k$,求 $\\max_{i=l}^r w(s_i,s_k)$。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P7"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8571"
},
"statements": [
{
"statement_type": "Markdown",
"content": "对于字符串 $x,y$,定义 $w(x,y)$ 为 $x$ 在 $y$ 中的出现次数。\n\nIndex 给了你 $n$ 个字符串 $s_{1\\dots n}$,$m$ 次询问,每次询问给定 $l,r,k$,求 $\\max_{i=l}^r w(s_i,s_k)$。\n\n## Input\n\n第一行两个整数 $n,m$。\\\n下面 $n$ 行,每行一个只包含小写字母的字符串表示 $s_{1\\dots n}$\\...",
"is_translate": false,
"language": "English"
}
]
}