xedokal
xedokal
全部文章
题解
归档
标签
去牛客网
登录
/
注册
xedokal的博客
全部文章
/ 题解
(共1篇)
题解 | #挑选队友#
考虑每个大小为 的队伍构造生成函数 于是答案是 注意到这个可以分治 算出。然后把 转化成 即可,就是等价于跟组合数卷积一下。 #include <bits/stdc++.h> #define ri int using namespace std; typedef double d...
2021-05-13
0
645