API Response (JSON)
{
"problem": {
"name": "A. Vicious Keyboard",
"description": {
"content": "Tonio has a keyboard with only two letters, \"_V_\" and \"_K_\". One day, he has typed out a string _s_ with only these two letters. He really likes it when the string \"_VK_\" appears, so he wishes to cha",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF801A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Tonio has a keyboard with only two letters, \"_V_\" and \"_K_\".\n\nOne day, he has typed out a string _s_ with only these two letters. He really likes it when the string \"_VK_\" appears, so he wishes to cha...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Tonio 有一个仅包含两个字母 \"_V_\" 和 \"_K_\" 的键盘。\n\n一天,他输入了一个仅由这两个字母组成的字符串 #cf_span[s]。他非常喜爱字符串 \"_VK_\" 的出现,因此他希望至多更改字符串中的一个字母(或不作任何更改),以最大化 \"_VK_\" 的出现次数。请计算在修改后字符串中,\"_VK_\" 作为子串(即字母 \"_K_\" 紧跟在字母 \"_V_\" 之后)最多能出现多少次。\n\n第一...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ s \\in \\{V, K\\}^n $ be the input string of length $ n $, where $ 1 \\leq n \\leq 100 $. \n\nLet $ f(s) $ denote the number of occurrences of the substring \"VK\" in $ s $, i.e., \n$$...",
"is_translate": false,
"language": "Formal"
}
]
}