API Response (JSON)
{
"problem": {
"name": "[COCI 2021/2022 #6] Zemljište",
"description": {
"content": "有一块地,大小为 $r \\times s$,$\\rm Matej$ 想买下它。这块地每个 $1\\times1$ 的正方形都有不同的价格。 设一片非空子矩阵价格总和为 $m$,则这片子矩阵的权值为 $|m-a|+|m-b|$,您需要找到最小权值的子矩阵。 您只需要输出最小权值即可。 ",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 2000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P3"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8343"
},
"statements": [
{
"statement_type": "Markdown",
"content": "有一块地,大小为 $r \\times s$,$\\rm Matej$ 想买下它。这块地每个 $1\\times1$ 的正方形都有不同的价格。 \n\n设一片非空子矩阵价格总和为 $m$,则这片子矩阵的权值为 $|m-a|+|m-b|$,您需要找到最小权值的子矩阵。 \n\n您只需要输出最小权值即可。\n\n## Input\n\n第一行包含四个正整数 $r$, $s$ , $a$ 和 $b$ 。\n\n下面 $r$ ...",
"is_translate": false,
"language": "English"
}
]
}