API Response (JSON)
{
"problem": {
"name": "『MdOI R5』Jump",
"description": {
"content": "数轴上有一个人,设他所在的位置为 $x$,初始时 $x=0$。第 $i$ 秒中他可以选择往左或往右跳 $2^{i-1}$ 单位长度,即将 $x$ 增大或减小 $2^{i-1}$。问他至少需要多少秒才能到达 $n$,即在某一秒结束的时刻使得 $x=n$。如果永远都不可能到达 $n$,那么输出 $-1$。 **本题每个测试点中有多组数据。**",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P2"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8918"
},
"statements": [
{
"statement_type": "Markdown",
"content": "数轴上有一个人,设他所在的位置为 $x$,初始时 $x=0$。第 $i$ 秒中他可以选择往左或往右跳 $2^{i-1}$ 单位长度,即将 $x$ 增大或减小 $2^{i-1}$。问他至少需要多少秒才能到达 $n$,即在某一秒结束的时刻使得 $x=n$。如果永远都不可能到达 $n$,那么输出 $-1$。\n\n**本题每个测试点中有多组数据。**\n\n## Input\n\n第一行,一个整数,表示数据组数 $...",
"is_translate": false,
"language": "English"
}
]
}