{"trustable":true,"sections":[{"title":"","value":{"format":"MD","content":"$1,10,100,1000\\cdots $ 组成序列 $1101001000\\cdots $ ,求这个序列的第 $N$ 位是 $0$ 还是 $1$ 。"}},{"title":"Input","value":{"format":"MD","content":"第 $1$ 行:一个数 $T$ ,表示后面用作输入测试的数的数量。( $1 \\le T \\le 10000)$\r\n第 $2 - T + 1$ 行:每行 $1$ 个数 $N$ 。( $1 \\le N \\le 10^9)$"}},{"title":"Output","value":{"format":"MD","content":"共 $T$ 行,如果该位是 $0$ ,输出 $0$ ,如果该位是 $1$ ,输出 $1$ 。"}},{"title":"Sample 1","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e3\n1\n2\n3\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e1\n1\n0\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}