API Response (JSON)
{
"problem": {
"name": "E. Rusty String",
"description": {
"content": "Grigory loves strings. Recently he found a metal strip on a loft. The strip had length _n_ and consisted of letters \"_V_\" and \"_K_\". Unfortunately, rust has eaten some of the letters so that it's now ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF827E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Grigory loves strings. Recently he found a metal strip on a loft. The strip had length _n_ and consisted of letters \"_V_\" and \"_K_\". Unfortunately, rust has eaten some of the letters so that it's now ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Grigory 爱好字符串。最近他在阁楼上发现了一条金属条,其长度为 $n$,由字母 \"V\" 和 \"K\" 组成。不幸的是,锈蚀破坏了一些字母,导致现在无法辨认原本写的是哪个字母。\n\nGrigory 长时间思考这些字母让他想起了什么,于是他产生了如下问题:如果我们在每个不可读的位置填入一个 \"V\" 或 \"K\",那么所得字符串的周期可能取哪些值?\n\n一个字符串的周期是一个整数 $d$($1 \\leq ...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ be the length of the string. \nLet $ S \\in (\\{V, K, ?\\})^n $ be the input string, where $ ? $ denotes an unreadable character. \nLet $ \\mathcal{A} $ be the...",
"is_translate": false,
"language": "Formal"
}
]
}