码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
【leetcode】Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:其他好文   时间:2015-04-21 17:55:03    阅读次数:104
40-Combination Sum II
【问题】Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each num...
分类:其他好文   时间:2015-04-21 17:54:48    阅读次数:88
hadoop 调优
Hadoop调优mapred.tasktracker.map.tasks.maximum官方解释:The maximum number of map tasks that will be runsimultaneously by a task tracker.我的理解:一个tasktracker最多...
分类:其他好文   时间:2015-04-21 17:50:58    阅读次数:122
39-Combination Sum
【问题】Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated...
分类:其他好文   时间:2015-04-21 17:28:36    阅读次数:88
MySQL 获取不连续的值
1、问题 有一个表数据如下图显示。下图数据中,running_number应该是连续性的5位字符。现需要获取到连接断掉的running_number。如00001与00005间缺了00002,00003,00004。我们需要获取到这三个running_number。 2、解决方案2.1 获得缺号前的临界点值。select running_number,time from (select runn...
分类:数据库   时间:2015-04-21 16:08:38    阅读次数:217
MySQL 获取连续范围
1、原始数据 2、把running_number转成数据,并加上一列有序数字SELECT d.running_number+0 running_number,@a:=@a+1 rn FROM device_data d,(SELECT @a:=0) a where d.device_id=13 order by d.running_number;3、running_number与有序数据的差,差...
分类:数据库   时间:2015-04-21 16:06:56    阅读次数:229
lua保留n位小数方法
time:2015/04/211. string.format()function GetPreciseDecimal(nNum, n) if type(nNum) ~= "number" then return nNum; end n = n or 0; ...
分类:其他好文   时间:2015-04-21 16:01:33    阅读次数:1984
DB2高效分页算法
例:select*from(selecta.*,row_number()over(orderbya.tableid)asrnfromt1awhereexists(select1fromt2bwhereb.tabschema=a.tabschemaandb.tabname=a.tabname))wherern>10fetchfirst10rowsonlyoptimizefor10rows高效的分页算法:1.orderby列必须有索引(上面的SQL指的是tableid..
分类:数据库   时间:2015-04-21 14:56:28    阅读次数:218
c# 迭代器 与 集合 IEnumerable.GetEnumerator 方法
示例来源 :msdn1.0 迭代器简单的迭代器: public static void Main(string[] args) { foreach (int number in EvenSequence(5, 18)) { ...
分类:编程语言   时间:2015-04-21 14:30:43    阅读次数:128
VC维的来龙去脉
目录: 说说历史 Hoeffding不等式 Connection to Learning 学习可行的两个核心条件 Effective Number of Hypotheses Growth Function Break Point与Shatter VC Bound VC dimension 深度学习与VC维 小结 参考文献 ...
分类:其他好文   时间:2015-04-21 13:14:49    阅读次数:305
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!