题目: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each ...
分类:
编程语言 时间:
2017-06-05 12:38:29
阅读次数:
182
题目:Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers su ...
分类:
编程语言 时间:
2017-06-05 11:31:24
阅读次数:
148
一、术语和概念的对比 primary key Specify any unique column or column combination as primary key. primary key In MongoDB, the primary key is automatically set to ...
分类:
数据库 时间:
2017-06-03 17:31:04
阅读次数:
324
方法:采用递归的方式 Combination Sum II 方法:每次递归中当前数据只访问一次,这里面需要注意一个细节问题:当原始vector中存在重复数字时,最终的结果会出现重复 也可以使用一个简单的flag变量 Combination Sum III 方法同上 ...
分类:
其他好文 时间:
2017-06-03 17:22:32
阅读次数:
178
题目大意:发上来就过不了审核了……总之大意就是求C(n,m) mod 10007 m,n∈[1,2*10^8] 卢卡斯定理:C(n,m)=C(n%p,m%p)*C(n/p,m/p) mod p 要求p是质数 当中n%p可能会小于m%p 这样的情况下直接返回0就可以 证明去问卢卡斯 我不知道 #inc ...
分类:
其他好文 时间:
2017-06-02 17:51:13
阅读次数:
130
作者:桂。 时间:2017-05-25 10:14:21 主要是《Speech enhancement: theory and practice》的读书笔记,全部内容可以点击这里。 书中代码:http://pan.baidu.com/s/1hsj4Wlu,提取密码:9dmi 未完待续 前言 最近学习 ...
分类:
其他好文 时间:
2017-05-25 13:26:48
阅读次数:
120
作者:桂。 时间:2017-05-24 10:06:39 主要是《Speech enhancement: theory and practice》的读书笔记,全部内容可以点击这里。 书中代码:http://pan.baidu.com/s/1hsj4Wlu,提取密码:9dmi 一、谱减的基本原理 A- ...
分类:
其他好文 时间:
2017-05-25 11:37:56
阅读次数:
165
选读《Speech enhancement: theory and practice》.主要是自己的读书笔记. Chapter 1:Introduction 第一章~第四章,主要介绍语音增强算法的基础知识; Chapter 2:Discrete-Time Signal Processing and ...
分类:
其他好文 时间:
2017-05-24 10:08:52
阅读次数:
169
作者:桂。 时间:2017-05-24 08:06:45 主要是《Speech enhancement: theory and practice》的读书笔记,全部内容可以点击这里。 1.语音增强(speech enhancement)主要从攻/防两面入手:quality + intelligibil ...
分类:
其他好文 时间:
2017-05-24 10:04:47
阅读次数:
154
图论姿势太弱,这套题做了好久。。 A:枚举最短那条边,然后最小生成树那种操作,1 和 n 联通就算答案 B:考虑到假如我们能凑出x的话,那很明显我们也能凑出任意数表示x + ai,考虑选取一个ai,然后dis[x]表示能凑出k % ai == x的最小k,跑一次最短路,初始化dis[0] = 0,假 ...
分类:
其他好文 时间:
2017-05-23 20:29:42
阅读次数:
129