API Response (JSON)
{
"problem": {
"name": "A. Random Mood",
"description": {
"content": "_This is a training contest on matrix exponentiation. See the tutorial along with hints and video solutions here._ Limak is always either happy or sad. His mood switches with probability $p$ every se",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10264A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "_This is a training contest on matrix exponentiation. See the tutorial along with hints and video solutions here._\n\nLimak is always either happy or sad. His mood switches with probability $p$ every se...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ p \\in (0,1) $ be the probability of mood switch per second. \nLet $ n \\in \\mathbb{Z}^+ $, $ 1 \\leq n \\leq 10^9 $, be the number of seconds. \nLet $ h_n $ be the probability tha...",
"is_translate": false,
"language": "Formal"
}
]
}