API Response (JSON)
{
"problem": {
"name": "[语言月赛202303] String Problem P",
"description": {
"content": "Farmer John 有 $n$ 个字符串,第 $i$ 个字符串为 $s_i$。 现在,你需要支持如下 $q$ 次操作: - `1 x y i`:把字符串 $s_x$ 整体插入到字符串 $s_y$ 的第 $i$ 个字符后,更新 $s_y$。 - `2 y`:求 $s_y$。 例如,设 $s_1 = \\texttt{abc}$,$s_2 = \\texttt{xyz}$,则执行完 `1 2 1",
"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": "LGB3726"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Farmer John 有 $n$ 个字符串,第 $i$ 个字符串为 $s_i$。\n\n现在,你需要支持如下 $q$ 次操作:\n\n- `1 x y i`:把字符串 $s_x$ 整体插入到字符串 $s_y$ 的第 $i$ 个字符后,更新 $s_y$。\n- `2 y`:求 $s_y$。\n\n例如,设 $s_1 = \\texttt{abc}$,$s_2 = \\texttt{xyz}$,则执行完 `1 2 1...",
"is_translate": false,
"language": "English"
}
]
}