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

感谢教练布置任务让我有动力写东西!。21)其实有些非显性异类混了进去,但是你看得出来。「codeforces - 340E」Iahub and Permutationslink。把 $1,\do...

对多步容斥不熟练啊,我建议我自己看看这个。link。首先将问题弱化为 1-d,我们待定容斥系数 $f_i$,可以写出答案的式子:$\sum\limits_{i=a}^nf_i\binom{n}{...

link。首先将问题弱化为 1-d,我们待定容斥系数 $f_i$,可以写出答案的式子:$\sum\limits_{i=a}^nf_i\binom{n}{i}2^{n-i}$。解释就是,我们想让 ...