算法
文章平均质量分 85
liulingbo918
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Poj 2239 Selecting Courses 二分图最大匹配
Selecting Courses 题意原创 2014-04-15 09:51:17 · 832 阅读 · 0 评论 -
Poj 1459 Power Network 最大流
Poj的1459题Power Network,很敏原创 2014-04-10 23:05:04 · 863 阅读 · 0 评论 -
KMP算法
Problem Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book: Tout avait Pair原创 2014-04-19 16:16:34 · 842 阅读 · 0 评论 -
康托展开及其应用
康托展开是一种特殊的哈西函数,用阶乘的线性组合来表示一个数x,即x = a[n] * n! + a[n-1] * (n-1)! + .... + a[1] * 1! , 其中0 3 * 3! + 0 * 2! + 1 * 1! , 所以可以用 [3, 0, 1] 来表示19。(网上有很多博客把康托展开定义为 X=an*(n-1)!+an-1*(n-2)!+...+ai*(i-1)!+..原创 2014-03-26 01:20:42 · 1357 阅读 · 0 评论 -
K-th string (微软2014实习生及秋令营技术类职位在线测试题)
时间限制:10000ms 单点时限:1000ms 内存限制:256MB Description Consider a string set that each of them consists of {0, 1} only. All strings in the set have the same number of 0s and 1s. Write a program to find and原创 2014-04-12 23:27:16 · 1108 阅读 · 0 评论
分享