Problem Description
A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 25, 27, ... shows the first...
分类:
其他好文 时间:
2014-10-14 23:41:13
阅读次数:
266
ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionA number of students sit in a circle facing their teacher in the center. Each student ini...
分类:
其他好文 时间:
2014-10-14 23:27:09
阅读次数:
137
Error: Could not find the required version of the Java(TM) 2 Runtime Environment in'(null)'.安装Java EE JDK 7报错安装SDK之前,必须先安装JRE,而且还必须是32位的。安装JDK之前居然要安装J...
分类:
编程语言 时间:
2014-10-14 23:04:29
阅读次数:
492
计算IMEI号的校验位 移动设备国际识别码(IMEI:International Mobile Equipment Identification Number)是区别移动设备的标志,具有唯一性,贴在手机背面的标志上,并且储存在移动设备中,可用于监控被窃或无效的移动设备,它也是该手机在厂家的"档案"和"身份证号".IMEI码由GSM(全球移动通信协会)统一分配,授权BABT(英国通信认证...
分类:
其他好文 时间:
2014-10-14 22:58:19
阅读次数:
240
1、首先将如下数据提交到ES中建立索引
{"number":32768,"singer":"杨坤","size":"5109132","song":"今夜二十岁","tag":"中国好声音","timelen":319}
{"number":32769,"singer":"汪峰","size":"6001697","song":"我爱你中国","tag":"中国好声音","timelen":3...
分类:
其他好文 时间:
2014-10-14 20:48:29
阅读次数:
127
系统环境是win7(64bit)+python3.4(64bit)+numpy1.82+vs20121.假设用sourceforge上编译好的32bit的exe安装,会提示‘python version ** required,which was not found in the registry’...
分类:
其他好文 时间:
2014-10-14 19:37:15
阅读次数:
268
今天安装VS2010的时候,点完安装之后报了一个错:,找了半天终于找到方案。用UltraISO打开VS2010安装ISO文件,提取setup\deffactory.dat文件到硬盘,用记事本打开,将里面内容清空,将以下内容复制到文件里[Version] Signature = "$Windows N...
分类:
其他好文 时间:
2014-10-14 18:53:49
阅读次数:
171
问题: Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runt...
分类:
编程语言 时间:
2014-10-14 18:45:39
阅读次数:
171
js中的类型:2大类型:原始类型和对象。原始类型有 boolean、number、string这三个普通原始类型,还有null、undefined这俩特殊原始类型对象嘛就多了,普通对象、内置对象、全局对象、函数、数组等。函数参数传递类型:对于原始类型,传递的是值,即复制一份传入函数,在函数内部修改不...
分类:
Web程序 时间:
2014-10-14 17:37:09
阅读次数:
143
/** * 自动补全,前置位补0 * 使用场景: 获取时间,小于10前面补0等 * @param {String} str 要补全的字符 * @param {number} len 要补全的长度 * @return {String} */function lenFormat(str,...
分类:
其他好文 时间:
2014-10-14 16:49:08
阅读次数:
151