API Response (JSON)
{
"problem": {
"name": "[蓝桥杯 2015 省 B] 移动距离",
"description": {
"content": "X 星球居民小区的楼房全是一样的,并且按矩阵样式排列。其楼房的编号为 $1,2,3, \\cdots $ 。 当排满一行时,从下一行相邻的楼往反方向排号。 比如:当小区排号宽度为 $6$ 时,开始情形如下: ``` 1 2 3 4 5 6 12 11 10 9 8 7 13 14 15 ..... ``` 我们的问题是:已知了两个楼号 $m$ 和 $n$,需要求出它们之间的最短",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 131072
},
"difficulty": {
"LuoguStyle": "P2"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8623"
},
"statements": [
{
"statement_type": "Markdown",
"content": "X 星球居民小区的楼房全是一样的,并且按矩阵样式排列。其楼房的编号为 $1,2,3, \\cdots $ 。\n\n当排满一行时,从下一行相邻的楼往反方向排号。\n\n比如:当小区排号宽度为 $6$ 时,开始情形如下:\n\n```\n1 2 3 4 5 6\n12 11 10 9 8 7\n13 14 15 .....\n```\n\n我们的问题是:已知了两个楼号 $m$ 和 $n$,需要求出它们之间的最短...",
"is_translate": false,
"language": "English"
}
]
}