
组合数学
文章平均质量分 73
lethalboy
这个作者很懒,什么都没留下…
展开
-
1662: [Usaco2006 Nov]Round Numbers 圆环数 Time Limit: 5 Sec Memory Limit: 64 MB Submit: 337 Solved:
1662: [Usaco2006 Nov]Round Numbers 圆环数 Time Limit: 5 Sec Memory Limit: 64 MB Submit: 337 Solved: 194 [Submit][Status][Discuss] Description 正如你所知,奶牛们没有手指以至于不能玩“石头剪刀布”来任意地决定例如谁先挤奶的顺序。她们甚至也不能通过仍原创 2016-11-14 11:33:10 · 696 阅读 · 0 评论 -
算法随笔(Cantalan数)
1.一般公式: 另类递归式:h[n]=((4*n-2)/(n+1))*h[n-1] 2.Cn表示有n+1个叶子的二叉树的个数。 3.Cn表示长度2n的dyck word的个数。Dyck word是一个有n个X和n个Y组成的字串, 且所有的部分字串皆满足X的个数大于等于Y的个数原创 2016-12-11 09:59:16 · 841 阅读 · 0 评论 -
codeforces 785 D. Anton and School - 2
D. Anton and School - 2 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output As you probably know, Anton goes to原创 2017-03-17 10:26:37 · 499 阅读 · 0 评论