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

标签 combinatorics 下的文章

「ARC 124A」LR ConstraintsLink.我们可以把 $1\sim n$ 个盒子里能放的球的编号集合全部求出来。然后就直接来。注意题目已经给出了 $k$ 个球的位置,所以「Not...

DescriptionLink.小明在打比赛,包括小明自己一共有 $p$ 名选手参赛,每个人的得分是一个非负整数。最后的冠军是得分最高的人,如果得分最高的人有多个,就等概率从这些人中选一个当冠军...