数学
天心流月
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[LuoguP1025][数据加强]数的划分
原题连接:Click 加强数据:Click Solution 参考博客:Click 题目意思非常明确了,这是一道组合数学的题目。我就直接讲dp解法了。 dp 题意可以转化为将nnn个苹果放进kkk个盒子里,并且不允许空盒。 设f[i][j]f[i][j]f[i][j]代表将iii个苹果放入jjj个盒子中,那么我们用解决这类问题的常用方法来分析: 我们必须先保证每个盒子非空,因此在iii个苹果中...原创 2019-12-26 17:46:42 · 305 阅读 · 0 评论 -
[Codeforces]1263C Everyone is a Winner!
题目 On the well-known testing system MathForces, a draw of nnn rating units is arranged. The rating will be distributed according to the following algorithm: if kkk participants take part in this event...原创 2019-12-04 16:58:09 · 569 阅读 · 0 评论 -
[CodeForces]1263A Sweet Problem
题目链接 题目描述 You have three piles of candies: red, green and blue candies: the first pile contains only red candies and there are rrr candies in it, the second pile contains only green candies and there ...原创 2019-12-03 22:01:47 · 388 阅读 · 0 评论
分享