API Response (JSON)
{
"problem": {
"name": "[LSOT-1] Crosspain",
"description": {
"content": "令 $S_0=\\varnothing$,维护一个数据结构,要求支持以下操作: - `1 hoc s`,令 $S_i=S_{hoc}\\cup\\{s\\}$,其中 $s$ 是字符串(保证操作前 $s\\notin S_{hoc}$) . - `2 hoc s`,令 $S_i=S_{hoc}$,并查询 $S_i$ 中的所有字符串在给出的字符串 $s$ 中出现的次数之和 .",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 196608
},
"difficulty": {
"LuoguStyle": "P6"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8451"
},
"statements": [
{
"statement_type": "Markdown",
"content": "令 $S_0=\\varnothing$,维护一个数据结构,要求支持以下操作:\n- `1 hoc s`,令 $S_i=S_{hoc}\\cup\\{s\\}$,其中 $s$ 是字符串(保证操作前 $s\\notin S_{hoc}$) .\n- `2 hoc s`,令 $S_i=S_{hoc}$,并查询 $S_i$ 中的所有字符串在给出的字符串 $s$ 中出现的次数之和 .\n\n## Input\n\n第一行包含一...",
"is_translate": false,
"language": "English"
}
]
}