API Response (JSON)
{
"problem": {
"name": "B. Table Tennis",
"description": {
"content": "_n_ people are standing in a line to play table tennis. At first, the first two players in the line play a game. Then the loser goes to the end of the line, and the winner plays with the next person f",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF879B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "_n_ people are standing in a line to play table tennis. At first, the first two players in the line play a game. Then the loser goes to the end of the line, and the winner plays with the next person f...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "#cf_span[n] 个人排成一列玩乒乓球。最初,队列中的前两名玩家进行一场比赛。然后输家走到队列末尾,赢家与队列中的下一位玩家比赛,依此类推。他们继续比赛,直到有人连续赢得 #cf_span[k] 场比赛,该玩家成为胜者。\n\n对于每位参与者,你知道他们的乒乓球实力,且所有玩家的实力值互不相同。在比赛中,实力更强的玩家总是获胜。请确定胜者的实力。\n\n第一行包含两个整数:#cf_span[n] 和...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, k \\in \\mathbb{Z} $ with $ 2 \\leq n \\leq 500 $, $ 2 \\leq k \\leq 10^{12} $. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a permutation of $ \\{1, 2, \\dots, n\\} $, representing the p...",
"is_translate": false,
"language": "Formal"
}
]
}