API Response (JSON)
{
"problem": {
"name": "[POI 2023/2024 R1] Budowa lotniska",
"description": {
"content": "给你一个 $n\\times n$ 的地图,地图上有 `.` 有 `X`。 求出最大的 $k$,使得: 在地图上能找到 $m(m\\leq 2)$ 个 $1\\times k$ 或 $k\\times 1$ 的长条,使得长条不交且长条内全是 `.`。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 500,
"memory_limit": 131072
},
"difficulty": {
"LuoguStyle": "P5"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9921"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给你一个 $n\\times n$ 的地图,地图上有 `.` 有 `X`。\n\n求出最大的 $k$,使得:\n\n在地图上能找到 $m(m\\leq 2)$ 个 $1\\times k$ 或 $k\\times 1$ 的长条,使得长条不交且长条内全是 `.`。\n\n## Input\n\n第一行两个正整数 $n,m$。\n\n接下来 $n$ 行,描述地图。\n\n## Output\n\n一行一个非负整数,最大的 $k$。\n\n[...",
"is_translate": false,
"language": "English"
}
]
}