API Response (JSON)
{
"problem": {
"name": "B. 3-palindrome",
"description": {
"content": "In the beginning of the new year Keivan decided to reverse his name. He doesn't like palindromes, so he changed Naviek to Navick. He is too selfish, so for a given _n_ he wants to obtain a string of ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF805B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "In the beginning of the new year Keivan decided to reverse his name. He doesn't like palindromes, so he changed Naviek to Navick.\n\nHe is too selfish, so for a given _n_ he wants to obtain a string of ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "在新年开始时,Keivan 决定将他的名字反转。他不喜欢回文,因此他将 Naviek 改为 Navick。\n\n他太自私了,所以对于给定的 #cf_span[n],他希望得到一个长度为 #cf_span[n] 的字符串,每个字符都是 '_a_'、'_b_' 或 '_c_',且字符串中不包含任何长度为 #cf_span[3] 的回文子串。例如,字符串 \"_abc_\" 和 \"_abca_\" 符合他的要求...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $, $ 1 \\leq n \\leq 2 \\cdot 10^5 $, be the length of the string. \nLet $ S \\in \\{a, b, c\\}^n $ be a string of length $ n $ over the alphabet $ \\{a, b, c\\} $.\n\n*...",
"is_translate": false,
"language": "Formal"
}
]
}