[数论]线性求所有逆元的方法 转自:http://blog.miskcoo.com/2014/09/linear-find-all-invert AA[i] = -(p / i) * A[p % i];