API Response (JSON)
{
"problem": {
"name": "B. Which floor?",
"description": {
"content": "In a building where Polycarp lives there are _equal_ number of flats on each floor. Unfortunately, Polycarp don't remember how many flats are on each floor, but he remembers that the flats are numbere",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF861B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "In a building where Polycarp lives there are _equal_ number of flats on each floor. Unfortunately, Polycarp don't remember how many flats are on each floor, but he remembers that the flats are numbere...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "在波利卡普居住的楼中,每层楼的公寓数量相等。遗憾的是,波利卡普不记得每层有多少公寓,但他记得公寓的编号是从 #cf_span[1] 开始,从底层到顶层依次递增的。也就是说,前若干个公寓位于第一层,接下来的若干个位于第二层,依此类推。波利卡普不记得楼中公寓的总数,因此你可以认为这栋楼是无限高的(即有无限多层)。注意,楼层编号从 #cf_span[1] 开始。\n\n波利卡普记得若干公寓所在的楼层。保证这...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ be the target flat number. \nLet $ m \\in \\mathbb{Z}_{\\geq 0} $ be the number of remembered flat-floor pairs. \nLet $ M = \\{(k_i, f_i) \\mid i \\in \\{1, \\dots...",
"is_translate": false,
"language": "Formal"
}
]
}