API Response (JSON)
{
"problem": {
"name": "E. Subordinates",
"description": {
"content": "There are _n_ workers in a company, each of them has a unique id from 1 to _n_. **Exaclty** one of them is a chief, his id is _s_. Each worker except the chief has exactly one immediate superior. The",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF729E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There are _n_ workers in a company, each of them has a unique id from 1 to _n_. **Exaclty** one of them is a chief, his id is _s_. Each worker except the chief has exactly one immediate superior.\n\nThe...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "公司中有 #cf_span[n] 名员工,每人有一个从 #cf_span[1] 到 #cf_span[n] 的唯一编号。*恰好* 一人是主管,其编号为 #cf_span[s]。除主管外,每位员工都有且仅有一位直接上级。\n\n公司向每位员工发出请求,要求他们报告自己有多少位上级(不仅限于直接上级)。员工的上级包括他的直接上级、直接上级的直接上级,依此类推。例如,如果公司中有三名员工,其中第一位是主管,...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, s \\in \\mathbb{Z}^+ $ with $ 1 \\leq s \\leq n $. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a sequence of non-negative integers, where $ a_i $ is the reported number of superiors...",
"is_translate": false,
"language": "Formal"
}
]
}