API Response (JSON)
{
"problem": {
"name": "[海淀区小学组 2023] 生日",
"description": {
"content": "陶陶过生日,有 $ n $ 个小伙伴站成环形为他庆祝,并将他们标号为 $ 1 \\ldots n $,他们对应的身高为 $ a_1 \\ldots a_n $。求如何排序,能让任意相邻的两个小伙伴之间身高差的绝对值最大值最小。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 3000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P2"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGB4194"
},
"statements": [
{
"statement_type": "Markdown",
"content": "陶陶过生日,有 $ n $ 个小伙伴站成环形为他庆祝,并将他们标号为 $ 1 \\ldots n $,他们对应的身高为 $ a_1 \\ldots a_n $。求如何排序,能让任意相邻的两个小伙伴之间身高差的绝对值最大值最小。\n\n## Input\n\n第一行仅有一个整数 $ n $,表示参加生日聚会的小伙伴人数。\n\n第二行有 $ n $ 个整数 $ a_1, a_2, \\ldots, a_n $,$ a...",
"is_translate": false,
"language": "English"
}
]
}