线性求所有逆元的方法

[数论]线性求所有逆元的方法

转自:http://blog.miskcoo.com/2014/09/linear-find-all-invert

	
AA[i] = -(p / i) * A[p % i];

猜你喜欢

转载自blog.csdn.net/TDD_Master/article/details/81476399