API Response (JSON)
{
"problem": {
"name": "[语言月赛 202408] 因友情而终结",
"description": {
"content": "字符串 $S$ 是一个仅由英文小写字母构成的串。现在,你可以对字符串 $S$ 执行任意次如下操作: - 选择 $S$ 长度为 $4$ 的一个子串,将其替换为 `love`。 请问,至少操作多少次,字符串 $S$ 不再有子串 `friend`。 > 定义:子串指的是一个字符串中连续的一段字符序列。例如,字符串 `aabbcc` 有子串 `aab`、`aabb`,但 `abc` 不是字符串 `a",
"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": "LGB4023"
},
"statements": [
{
"statement_type": "Markdown",
"content": "字符串 $S$ 是一个仅由英文小写字母构成的串。现在,你可以对字符串 $S$ 执行任意次如下操作:\n\n- 选择 $S$ 长度为 $4$ 的一个子串,将其替换为 `love`。\n\n请问,至少操作多少次,字符串 $S$ 不再有子串 `friend`。\n\n> 定义:子串指的是一个字符串中连续的一段字符序列。例如,字符串 `aabbcc` 有子串 `aab`、`aabb`,但 `abc` 不是字符串 `a...",
"is_translate": false,
"language": "English"
}
]
}