{"trustable":false,"prependHtml":"\u003cstyle type\u003d\"text/css\"\u003e\n h1 { font-size: 1.2em; }\n\u003c/style\u003e\n","sections":[{"title":"","value":{"format":"HTML","content":"Cho một dãy $n$ số nguyên, nhiệm vụ của bạn là với mỗi phần tử $x$ tính $x$:\u003col\u003e\n\u003cli\u003e số lượng phần tử $y$ thỏa mãn $x \\mid y \u003d x$\u003cbr\u003e\n\u003c/li\u003e\u003cli\u003e số lượng phần tử $y$ thỏa mãn $x \\mathrel{\\\u0026amp;} y \u003d x$\u003cbr\u003e\n\u003c/li\u003e\u003cli\u003e số lượng phần tử $y$ thỏa mãn $x \\mathrel{\\\u0026amp;} y \\neq 0$\u003cbr\u003e\n\u003c/li\u003e\u003c/ol\u003e\n\u003cb id\u003d\"input\"\u003eInput\u003c/b\u003e\u003cbr\u003e\n\u003cbr\u003e\nDòng đầu tiên chứa một số nguyên $n$\u003cbr\u003e\n\u003cbr\u003e\nDòng tiếp theo có $n$ số nguyên $x_1,x_2,\\dots,x_n$: các phần tử của dãy số.\u003cbr\u003e\n\u003cbr\u003e\n\u003cb id\u003d\"output\"\u003eOutput\u003c/b\u003e\u003cbr\u003e\n\u003cbr\u003e\nIn ra $n$ dòng, với mỗi dòng in ra các giá trị cần tính.\u003cbr\u003e\n\u003cbr\u003e\n\u003cb id\u003d\"constraints\"\u003eGiới hạn\u003c/b\u003e\u003cbr\u003e\n\u003cul\u003e\n\u003cli\u003e $1 \\le n \\le 2 \\cdot 10^5$\u003cbr\u003e\n\u003c/li\u003e\u003cli\u003e $1 \\le x_i \\le 10^6$\u003cbr\u003e\n\u003c/li\u003e\u003c/ul\u003e\n "}},{"title":"Sample","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\u003e5\n3 7 2 9 2\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e3 2 5\n4 1 5\n2 4 4\n1 1 3\n2 4 4\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}