给定 p,q,xp,q,xp,q,x,求 ∑i=1[⌊p×iq⌋≤x]\sum_{i=1} [\lfloor\frac{p\times i}{q} \rfloor\le x]∑i=1[⌊qp×i⌋≤x]。 要求 O(1)O(1)O(1)