![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
组合数
丿残念灬
这个作者很懒,什么都没留下…
展开
-
CodeForces-711D Directed Roads(拓扑排序+组合数)
D. Directed Roadstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon has exp原创 2016-09-05 00:23:54 · 463 阅读 · 0 评论 -
总结--卡特兰数及卡特兰三角
卡特兰数:由n个X和n个Y组成一个序列,满足“所有前缀中Y出现的次数不能超过X出现的次数”的序列的个数卡特兰三角:由n个X和k个Y组成一个序列,满足“所有前缀中Y出现的次数-X出现的次数小于m”的序列的个数 参考链接:https://en.wikipedia.org/wiki/Catalan_number https://en.wikipedia.org/wiki/Ca...原创 2017-05-31 21:13:33 · 1005 阅读 · 0 评论 -
CodeForces-815B Karen and Test(组合数)
B. Karen and Testtime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputKaren has just arrived at school, and she has a math test today...原创 2018-07-28 10:54:09 · 240 阅读 · 0 评论