ai mod aj(1≤i,j≤n∧i≠j)a_i \bmod a_j (1 \le i,j \le n \wedge i \neq j)aimodaj(1≤i,j≤n∧i=j) 这里的 n∧in \wedge in∧i 指的是平方还是异或符号