API Response (JSON)
{
"problem": {
"name": "D. Magic Strings",
"description": {
"content": "Consider the sequence of strings $F_1, F_2, \\\\dots$, defined as: $$ F_1 = ab\\text{,} $$ $$ F_{k+1} = F_kF_kb\\text{.} $$ Calculate the number of distinct _subsequences_ of the string $F_n$ modulo $10",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 4000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10235D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Consider the sequence of strings $F_1, F_2, \\\\dots$, defined as:\n\n$$ F_1 = ab\\text{,} $$ $$ F_{k+1} = F_kF_kb\\text{.} $$\n\nCalculate the number of distinct _subsequences_ of the string $F_n$ modulo $10...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ F_1 = \"ab\" $, and for $ k \\geq 1 $, define $ F_{k+1} = F_k F_k b $. \nLet $ s_n = |F_n| $ denote the length of $ F_n $, and let $ a_n $ denote the number of distinct subsequenc...",
"is_translate": false,
"language": "Formal"
}
]
}