API Response (JSON)
{
"problem": {
"name": "C. Nastya and a Wardrobe",
"description": {
"content": "Nastya received a gift on New Year — a magic wardrobe. It is magic because in the end of each month the number of dresses in it doubles (i.e. the number of dresses becomes twice as large as it is in t",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF992C"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Nastya received a gift on New Year — a magic wardrobe. It is magic because in the end of each month the number of dresses in it doubles (i.e. the number of dresses becomes twice as large as it is in t...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Nastya 在新年收到了一份礼物——一个魔法衣橱。它的神奇之处在于,每个月末,衣橱中的连衣裙数量会翻倍(即变为月初数量的两倍)。\n\n不幸的是,每次翻倍后,衣橱会以 #cf_span[50%] 的概率吃掉一件连衣裙(如果有的话)。这一过程发生在一年中的每个月,除了最后一个月。\n\nNastya 目前拥有 #cf_span[x] 件连衣裙,她想知道一年后她拥有的连衣裙的期望数量。Nastya 居住在 ...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ x $ be the initial number of dresses, and $ k+1 $ be the number of months in the year.\n\nDefine $ E_n $ as the expected number of dresses at the end of month $ n $, with $ E_0 = x $.\n\nFor each mo...",
"is_translate": false,
"language": "Formal"
}
]
}