设数组长度 nnn,询问个数 qqq。
请问莫队的时间复杂度是 O(nn),O(nq),O(qq)O(n\sqrt n),O(n\sqrt q),O(q\sqrt q)O(nn),O(nq),O(qq) 还是 O(qn)O(q\sqrt n)O(qn)?