
组合数学
威萌
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
排列组合
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionIn how many ways can you choose k elements out of n elements, not taking order int原创 2014-07-26 14:46:55 · 436 阅读 · 0 评论 -
母函数的运算
F - Ignatius and the Princess IIITime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription"Well, it seems the first problem is too easy.原创 2014-07-31 11:03:02 · 457 阅读 · 0 评论 -
母函数入门2
C - C - 母函数入门2Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription话说上回讲到HDU大战东洋小苟,结果自然是中方大胜,这一战也使得海东集团在全球同行业中的地位更加巩固。随着集团的发展,很多创原创 2014-07-31 15:06:09 · 382 阅读 · 0 评论 -
鸽巢原理入门1
E - 鸽巢原理入门1Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionEvery year there is the same problem at Halloween: Each neighbour i原创 2014-08-01 10:44:56 · 473 阅读 · 0 评论 -
鸽巢原理入门2
F - 鸽巢原理入门2Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe input contains N natural (i.e. positive integer) numbers ( N <= 1原创 2014-08-01 14:23:53 · 538 阅读 · 0 评论 -
太难了》》》》
分类: 数论2014-02-17 11:07 275人阅读 评论(0) 收藏 举报点击打开链接跳蚤Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 7730 Accepted: 2238DescriptionZ城市居住着很多只跳蚤转载 2014-08-12 10:40:16 · 475 阅读 · 0 评论 -
B. Painting Pebbles
题记:这个题目的含义是:输入一组数,输入第一堆数的个数,和总的类别,保证任意一堆数的不同数的差值小于等于1,由抽屉原理可知当最大堆和最小堆的数量大于类别时 ,就没有满足条件,若非则输出YES。 抽屉原理为:当 如果每个抽屉代表一个集合,每一个苹果就可以代表一个元素,假如有n+1个元素放到n个集合中去,其中必定至少有一个集合里有两个元素。即当他们差值大于类别,就一定有一个树是相差两个的额原创 2015-02-03 10:43:48 · 488 阅读 · 0 评论