In mathematics you don't understand things, you just get used to them.

标签 number theory 下的文章

Quack 知道好多东西,把它们都做成 ppt。inv_gcd 还可以用递推矩阵算。void exgcd(int a, int b){ r[0] = a, r[1] = b; int i...

前置容斥原理,最精简的形式应当如此写成:有 $n$ 个集合 $A_1, \dots, A_n$,记 $S = \{A_1, \dots, A_n\}$。则有 $\displaystyle\lef...