码迷,mamicode.com
首页 >  
搜索关键字:comare version number    ( 48018个结果)
peime number
//primenumber #include<iostream> usingnamespacestd; intmain() { boolisprime; cout<<"Primenumber:"<<endl; for(inti=3;i<=100;i++) { isprime=true; for(intj=2;j<i;j++) { if(i%j==0) isprime=false; } if(isprime) cout<<i<<"isp..
分类:其他好文   时间:2014-08-26 03:04:35    阅读次数:222
【Java代码片】判断操作系统等系统信息
/**?JVM?vendor?info.?*/ ??public?static?final?String?JVM_VENDOR?=?System.getProperty("java.vm.vendor"); ??public?static?final?String?JVM_VERSION?=?System.getProperty("java.vm...
分类:编程语言   时间:2014-08-26 01:51:35    阅读次数:249
Leetcode:Edit Distance 字符串编辑距离
原题戳我Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You ha...
分类:其他好文   时间:2014-08-26 00:14:25    阅读次数:334
[mongodb]child process failed, exited with error number 100
Run the following command first to start the mongo servermongod run --config /usr/local/etc/mongod.confAssuming you installed mongo usingBrew.More inf...
分类:数据库   时间:2014-08-26 00:10:15    阅读次数:554
Response.Expires 属性 (转载于疯狂客的BLOG)
Expires 属性 Expires 属性指定了在浏览器上缓冲存储的页距过期还有多少时间。如果用户在某个页过期之前又回到此页,就会显示缓冲区中的版本 语法 Response.Expires [= number] 参数 number 距过期还有多少分钟。将此参数设置为 0 可使缓存的页立即过期。 注释...
分类:其他好文   时间:2014-08-26 00:09:05    阅读次数:195
Maven学习笔记(二) :Maven的安装与配置
在Windows上安装Maven:    1.  首先检查JDK安装 通过命令行执行命令:echo %JAVA_HOME%和 java  -version,可以查看当前java的安装目录及java的版本,maven要求JDK的版本必须在1.4以上。    2. 下载Maven 前往maven的下载页面:http://maven.apache.org/download.cgi下载最新...
分类:其他好文   时间:2014-08-25 23:02:15    阅读次数:654
【Leet Code】ZigZag Conversion
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I ...
分类:其他好文   时间:2014-08-25 23:00:25    阅读次数:671
HDU 1394 Minimum Inversion Number 【逆序数】
归并排序 逆序数...
分类:其他好文   时间:2014-08-25 22:58:45    阅读次数:251
Wordpress 音频播放器 Wordpress audio player with jQuery audioplayer.swf
原文地址:http://justcoding.iteye.com/blog/545978Wordpress audio player with jQueryHow to useWordpress audio player (standalone version)withjQueryandjQuery...
分类:Web程序   时间:2014-08-25 22:41:44    阅读次数:648
C,C++,JAVA char,各占字节数
char在C和C+中占一个字节 Java中无论是汉字还是英文字母都是用Unicode编码来表示的,一个Unicode码是16位,每字节是8位,所以一个Unicode码占两字节 /** * The number of bits used to represent a char va...
分类:编程语言   时间:2014-08-25 22:37:24    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!