API Response (JSON)
{
"problem": {
"name": "B3. Rasta-making",
"description": {
"content": "Sequence of positive integers is given to you. A sequence of positive integers is called Rasta - made if and only if every two consecutive elements from this sequence are coprimes to each other. A ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 15000,
"memory_limit": 1048576
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10070B3"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Sequence of positive integers is given to you. A sequence of positive integers is called Rasta - made if and only if every two consecutive elements from this sequence are coprimes to each other. \n\nA ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, M \\in \\mathbb{Z}^+ $. \nLet $ \\mathcal{S} $ be the set of all sequences $ A = (a_1, a_2, \\dots, a_n) $ such that $ a_i \\in \\{1, 2, \\dots, M\\} $ for all $ i $. \n\nA sequence ...",
"is_translate": false,
"language": "Formal"
}
]
}