API Response (JSON)
{
"problem": {
"name": "[USACO23DEC] Cycle Correspondence S",
"description": {
"content": "Farmer John 有 $N$($3 \\le N \\le 5\\cdot 10^5$)座谷仓,其中 $K$ 对不同的谷仓连接在一起。 一开始,Annabelle 为每座谷仓分配了一个 $[1,N]$ 范围内的整数编号,并发现编号为 $a_1,\\dots,a_K$ 的谷仓按照顺序形成了一个环形连接。换句话说,对于所有的 $1 \\le i < K$,谷仓 $a_i$ 和 $a_{i+1}$ 相连,",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": {
"LuoguStyle": "P3"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9978"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Farmer John 有 $N$($3 \\le N \\le 5\\cdot 10^5$)座谷仓,其中 $K$ 对不同的谷仓连接在一起。\n\n一开始,Annabelle 为每座谷仓分配了一个 $[1,N]$ 范围内的整数编号,并发现编号为 $a_1,\\dots,a_K$ 的谷仓按照顺序形成了一个环形连接。换句话说,对于所有的 $1 \\le i < K$,谷仓 $a_i$ 和 $a_{i+1}$ 相连,...",
"is_translate": false,
"language": "English"
}
]
}