API Response (JSON)
{
"problem": {
"name": "B. Lazy Security Guard",
"description": {
"content": "Your security guard friend recently got a new job at a new security company. The company requires him to patrol an area of the city encompassing exactly _N_ city blocks, but they let him choose which ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF859B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Your security guard friend recently got a new job at a new security company. The company requires him to patrol an area of the city encompassing exactly _N_ city blocks, but they let him choose which ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你的安保朋友最近在一家新的安保公司找到了一份新工作。该公司要求他巡逻一个恰好包含 #cf_span[N] 个街区的区域,但允许他自行选择哪些街区。也就是说,你的朋友必须沿着一个面积恰好为 #cf_span[N] 个街区的区域的边界行走。这座城市采用正方形网格布局,且规模足够大,可以视为无限大。\n\n输入为一个整数 #cf_span[N] (#cf_span[1 ≤ N ≤ 106]),表示路线必须围...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Given: \n- $ N \\in \\mathbb{Z}^+ $, $ 1 \\leq N \\leq 10^6 $, the required enclosed area in square blocks.\n\nObjective: \nMinimize the perimeter $ P $ of a polyomino (connected region on the square grid) ...",
"is_translate": false,
"language": "Formal"
}
]
}