Competitive Programming
by Jimmy Wu
math
3 notes
快速冪
常見的快速冪主要是用來高效率算出一個東西的 N 次方,但快速冪不只這樣,只要是有結合律的東西其實都有機會用到
math
divide-and-conquer
矩陣乘法
math
matrix
矩陣快速冪
math
matrix