API Response (JSON)
{
"problem": {
"name": "B. Petr and Permutations",
"description": {
"content": "Petr likes to come up with problems about randomly generated data. This time problem is about random permutation. He decided to generate a random permutation this way: he takes identity permutation of",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF986B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Petr likes to come up with problems about randomly generated data. This time problem is about random permutation. He decided to generate a random permutation this way: he takes identity permutation of...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Petr 喜欢设计关于随机生成数据的问题。这次的问题是关于随机排列的。他决定用以下方式生成一个随机排列:从数字 $1$ 到 $n$ 的单位排列开始,然后进行 $3 n$ 次操作,每次随机选取两个不同的元素并交换它们。Alex 羡慕 Petr,试图在所有方面模仿他。Alex 也设计了一个关于随机排列的问题。他生成随机排列的方式与 Petr 相同,但交换元素的次数是 $7 n + 1$ 次,而不是 $...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ \\pi $ be a permutation of $ \\{1, 2, \\dots, n\\} $, obtained by starting from the identity permutation and applying $ k $ random transpositions (swaps of two distinct elements).\n\nLet $ c $ be the ...",
"is_translate": false,
"language": "Formal"
}
]
}