Menu Sidebar
Menu

January 2023

线性求逆元

https://leetcode.com/problems/count-the-number-of-good-subsequences/description/ 求[1,n]的所有数逆元在模p下的逆元, 用pow(n,p – 2,p)太慢了。所有用下面代码

书脊

这青苔碧瓦堆, 俺曾睡风流觉, 将五十年兴亡看饱.

January 2023
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031