码迷,mamicode.com
首页 > 其他好文
离线版-端点检测代码重写
根据对双门限的理解和修改,重写了一个离线版端点检测。function [st,en]=VAD(x, fs)x=double(x);x=x/max(abs(x));framelen= floor(fs*40/1000);%frameinc= floor(fs*10/1000);%y=enframe(....
分类:其他好文   时间:2015-04-17 21:57:40    阅读次数:153
shoususaiBti
Description郭橐驼,不知始何名。病偻,隆然伏行,有类橐驼者,故乡人号之驼。驼闻之,曰:“甚善。名我固当。”因舍其名,亦自谓橐驼云。其乡曰丰乐乡,在长安西。驼业种树,凡长安豪富人为观游及卖果者,皆争迎取养。视驼所种树,或移徙,无不活;且硕茂,蚤实以蕃。他植者虽窥伺效慕,莫能如也。 有问之.....
分类:其他好文   时间:2015-04-17 21:56:25    阅读次数:120
leetcode_103题——Binary Tree Zigzag Level Order Traversal(广度优先搜索,队列queue,栈stack)
Binary Tree Zigzag Level Order TraversalTotal Accepted:31183Total Submissions:117840My SubmissionsQuestionSolutionGiven a binary tree, return thezigza...
分类:其他好文   时间:2015-04-17 21:53:46    阅读次数:123
人生三大陷阱:大意、轻信、贪婪
一个少妇在野外,全身的衣服被男人偷走以后..........一个少妇进城卖驴和山羊。山羊的脖子上系着一个小铃铛。三个小偷看见了,一个小偷说:“我去偷羊,叫少妇发现不了。”另一个小偷说:“我要从少妇手里把驴偷走。”第三个小偷说:“这都不难,我能把少妇身上的衣服全部偷来。”第一个小偷在道路的转弯处悄悄地...
分类:其他好文   时间:2015-04-17 21:53:57    阅读次数:105
ZOJ-1239 Hanoi Tower Troubles Again!
链接:ZOJ1239Hanoi Tower Troubles Again!DescriptionPeople stopped moving discs from peg to peg after they know the number of steps needed to complete the...
分类:其他好文   时间:2015-04-17 21:55:36    阅读次数:173
【CF】509E Pretty Song
数学规律题,很容易计算的。以初始测试数据3为例。Str Y I S V O W E L--------------------------Len 1 2 3 4 | 5 6 7 8Y + | +I+ + | + +S VO+ + + + | + + + +WE + | +L首先注意1-4与5-8.....
分类:其他好文   时间:2015-04-17 21:52:21    阅读次数:160
QtGui.QLineEdit
AQtGui.QLineEditis a widget that allows to enter and edit a single line of plain text. There are undo and redo, cut and paste, and drag & drop functio...
分类:其他好文   时间:2015-04-17 21:52:50    阅读次数:180
第一章 软件开发阶段
来源自:《数据结构与面向对象程序设计》1、在选择恰当的子任务时,需要关注的两个问题是什么?答:1)潜在的代码重用;2)将来更改程序的可能性2、C++原型函数中包含哪些元素?答: 函数的原型包含返回类型、名称、参数列表,并以分号结尾。3、本习题将参照Jervis编写的一个函数,函数原型和前置条件/后置...
分类:其他好文   时间:2015-04-17 21:54:35    阅读次数:152
leetcode_199题——Binary Tree Right Side View(广度优先搜索,队列queue)
#include#include#includeusing namespace std;// Definition for binary tree struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int...
分类:其他好文   时间:2015-04-17 21:51:07    阅读次数:141
POJ 1265 Area POJ 2954 Triangle Pick定理
AreaTime Limit:1000MSMemory Limit:10000KTotal Submissions:5227Accepted:2342DescriptionBeing well known for its highly innovative products, Merck would...
分类:其他好文   时间:2015-04-17 21:53:04    阅读次数:196
QtGui.QSplitter
AQtGui.QSplitterlets the user control the size of child widgets by dragging the boundary between the children. In our example, we show threeQtGui.QFra...
分类:其他好文   时间:2015-04-17 21:51:32    阅读次数:231
HDU 1394 Minimum Inversion Number
Minimum Inversion NumberTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:139464-bit integer IO format:%I64d Java ...
分类:其他好文   时间:2015-04-17 21:50:14    阅读次数:120
兼容性不错的文字滚动特效
兼容多个浏览器的文字滚动特效代码微软和谷歌对浏览器的垄断会导致Web的私有化吗? Subversion高级应用:SVN的多种认证方式年度总结:2008年Java工具要不要把IT主导权还给业务人员? IT专家网08年回顾:开发语言与开发平台共舞 下一代网络业务融合方正科技七大优势 打造全流程专业外包0...
分类:其他好文   时间:2015-04-17 21:49:47    阅读次数:129
[Leetcode]Pascal's Triangle
GivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]...
分类:其他好文   时间:2015-04-17 21:51:24    阅读次数:142
baidumap 百度地图,实现多点之间的带方向路线图。
通过lastVisitAt判断时间先后。通过三角函数验证角度再由baidumap 会制线段绘制三角箭头比较难看……测试个人因为框架引用baidu 有各种问题失败,为最快实现,以此页作一个独立的iframe通过window.localStorage 实现数据传递。父页代码window.localSto...
分类:其他好文   时间:2015-04-17 21:49:35    阅读次数:192
33. Search in Rotated Sorted Array
题目:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).You are given a target valu...
分类:其他好文   时间:2015-04-17 21:50:56    阅读次数:115
hdu 2035 快速幂
很显然是快速幂,数据太小了,int就足够。 1 #include 2 using namespace std; 3 4 int pow_mod( int a, int n, int m ) 5 { 6 int ans = 1; 7 a = a % m; 8 while (...
分类:其他好文   时间:2015-04-17 21:50:42    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!