数学
文章平均质量分 89
liulingbo918
这个作者很懒,什么都没留下…
展开
-
康托展开及其应用
康托展开是一种特殊的哈西函数,用阶乘的线性组合来表示一个数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 · 1259 阅读 · 0 评论 -
K-th string (微软2014实习生及秋令营技术类职位在线测试题)
时间限制:10000ms单点时限:1000ms内存限制:256MBDescriptionConsider 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 · 1024 阅读 · 0 评论