#31849: 不用建表的方法


a302854888@gmail.com (小麥)


這邊推薦一個隨機性算法,用費馬小定理快速冪實作。

Code