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...
分类:
其他好文 时间:
2014-06-25 22:07:58
阅读次数:
330
this android sdk requires android developer toolkit version 10.0.0 or above.current version is 8.0.1.v201012062107-82219.please update adt to the late...
分类:
移动开发 时间:
2014-06-25 21:47:22
阅读次数:
223
SQL Server 2005引入的新方法。1 SELECT * FROM (SELECT ROW_NUMBER() OVER(ORDER BY keyField DESC) AS rowNum, * FROM tableName) AS t WHERE rowNum > start[比如:90] ...
分类:
数据库 时间:
2014-06-25 21:17:08
阅读次数:
256
typeof(1): numbertypeof(NaN): numbertypeof(Number.MIN_VALUE): numbertypeof(Infinity): numbertypeof("123"): stringtypeof(true): booleantypeof(window): ...
分类:
编程语言 时间:
2014-06-25 20:57:22
阅读次数:
295
MAVEN项目编译时报错:'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing。解决方案:POM.xml文件中maven-compiler-plugin插件缺少版本信息...
分类:
其他好文 时间:
2014-06-25 20:43:15
阅读次数:
187
UVA 10539 - Almost Prime Numbers
题目链接
题意:给定一个区间,求这个区间中的Almost prime number,Almost prime number的定义为:只能整除一个素数。
思路:既然是只能整除一个素数,那么这些数肯定为素数的x次方(x > 1),那么只要先打出素数表,然后在素数表上暴力找一遍就可以了,因为素数表只要找到sqrt(Max...
分类:
其他好文 时间:
2014-06-25 20:10:16
阅读次数:
181
/*API-141*/Raphael.pathIntersection(path1, path2)获取两条线的交点参数列表:path1 字符串类型 路径的字符串表达形式path2 字符串类型 路径的字符串表达形式返回值:交点集合,格式如下:[{ x: //number类型 点的x坐标 y: //nu...
一、安装SVNLinux 下可以直接通过如下命令直接获取svn server:(我使用的服务器系统为Debian 7.5 稳定版)apt-get install subversion安装完成后,可通过svnserve --version 查看安装的版本,我所使用的svn server 版本为1.6....
分类:
系统相关 时间:
2014-06-24 15:03:23
阅读次数:
266
原来写的一个分页查询,回调了好几层。exports.list = function(req,res) { var params = {}; var current_page = common_util.get_param_value(req,'current_page','Number'...
分类:
Web程序 时间:
2014-06-24 12:41:15
阅读次数:
353
我们来看Interfaces ofport: OpenFlow port number for this interface. type: system: An ordinary network device, e.g. eth0 on Linux. internal: A simulated ne...
分类:
其他好文 时间:
2014-06-24 12:23:51
阅读次数:
316