API Response (JSON)
{
"problem": {
"name": "H. King",
"description": {
"content": "As we all know, the number of _Pang_'s papers follows exponential growth. Therefore, we are curious about _King_ sequence. You are given a prime $p$. A sequence $(a_1, a_2, \\\\dots, a_n)$ is a _King_ ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10247H"
},
"statements": [
{
"statement_type": "Markdown",
"content": "As we all know, the number of _Pang_'s papers follows exponential growth. Therefore, we are curious about _King_ sequence.\n\nYou are given a prime $p$. A sequence $(a_1, a_2, \\\\dots, a_n)$ is a _King_ ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ p $ be a prime. A sequence $ (a_1, a_2, \\dots, a_n) $ is a *King sequence* if there exists an integer $ q \\in [1, p-1] $ such that for all $ i \\in [2, n] $, \n$$\na_i \\equiv q \\...",
"is_translate": false,
"language": "Formal"
}
]
}