--组合数学--
张小象
编程,我自己的能力!!!!
展开
-
母函数入门+模板
在数学中,某个序列的母函数(Generating function,又称生成函数)是一种形式幂级数,其每一项的系数可以提供关于这个序列的信息。使用母函数解决问题的方法称为母函数方法。母函数可分为很多种,包括普通母函数、指数母函数、L级数、贝尔级数和狄利克雷级数。对每个序列都可以写出以上每个类型的一个母函数。构造母函数的目的一般是为了解决某个特定的问题,因此选用何种母函数视乎序列本身的特性和转载 2015-09-13 09:36:55 · 416 阅读 · 1 评论 -
无数次转的母函数
自己理解:对于(#式) (1+x+x^2+x^3+x^4+x^5+....)*(1+x^2+x^4+x^6+x^8+x^10+....)*(1+x^3+x^6+x^9+x^12....).....第一个for给c1 和 c2 赋值 , 把上面#式的第一个括号(1+x+x^2+x^3+x^4+x^5+....)的系数给放在c1中,从而再次计算从 # 的 第二个括号开始 , 所以 i 就是代转载 2015-09-14 01:01:32 · 419 阅读 · 0 评论 -
hdoj 1085 Holding Bin-Laden Captive!
Holding Bin-Laden Captive!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17696 Accepted Submission(s): 7918Problem Description原创 2015-09-14 20:54:32 · 433 阅读 · 0 评论 -
hdoj 1398 Square Coins
Square CoinsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9923 Accepted Submission(s): 6803Problem DescriptionPeople in Silve原创 2015-09-14 18:04:03 · 645 阅读 · 0 评论 -
hdoj 1028 Ignatius and the Princess III
Ignatius and the Princess IIITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16005 Accepted Submission(s): 11289Problem Descripti原创 2015-09-14 17:53:30 · 332 阅读 · 0 评论 -
CodeForces 630 G. Challenge Pennants(组合数学)
Challenge PennantsCrawling in process...Crawling failedTime Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatus Practice CodeForces 630G Descr原创 2016-03-20 09:47:14 · 470 阅读 · 0 评论 -
CodeForces-630 H. Benches【排列组合】
Benchestime limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe city park of IT City contains n east to west p原创 2016-03-20 17:28:55 · 404 阅读 · 0 评论 -
codeforces 630 I Parking Lot (规律&&组合)
Parking Lottime limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputTo quickly hire highly skilled specialists one of the ne原创 2016-03-20 20:22:22 · 387 阅读 · 0 评论