码迷,mamicode.com
首页 >  
搜索关键字:comare version number    ( 48018个结果)
一个简单的 JavaScript 的模板引擎
比较简单,直接贴代码吧:(function (global) { var _version = '1.0.0', _setting = { openTag: '', /*逻辑代码的结束标签*/ maskOpenTag: ...
分类:编程语言   时间:2014-08-22 22:29:39    阅读次数:261
UVA - 1350 Pinary (递推)
Description ``Pinary" number is a positive number using only two digits ``0" and ``1" with usual rule that it must not begin with a 0, and the additional rule that two successive digits must not be...
分类:其他好文   时间:2014-08-22 21:16:19    阅读次数:237
URAL 1748. The Most Complex Number 反素数
题目来源:URAL 1748. The Most Complex Number 题意:求一个小于等于n的因子最多的数 思路:搜索+剪枝 #include #include using namespace std; typedef unsigned __int64 LL; LL prime[16] = {2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53...
分类:其他好文   时间:2014-08-22 21:12:09    阅读次数:228
Distinct Subsequences
Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from the orig...
分类:其他好文   时间:2014-08-22 21:06:19    阅读次数:203
1. Hibernate Map集合映射属性,创建表失败或表不存在
八月 22, 2014 8:02:39 下午 org.hibernate.annotations.common.Version INFO: HCANN000001: Hibernate Commons Annotations {4.0.2.Final}八月 22, 2014 8:02:39 下午 o...
分类:系统相关   时间:2014-08-22 21:04:09    阅读次数:380
Tair LDB基于Prefixkey的范围查找性能优化项目之如何提取key的prefix_size信息
New Document/* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */ /* Author: Nicolas Hery - http://nicolashery.com */ /* Version: b13fe65ca28d2e568c6ed5d7f06581183df8f2ff */ /* Source: http...
分类:数据库   时间:2014-08-22 19:47:49    阅读次数:362
关于Javascript你可能不知道的事
NaN表示一个不能产生正常结果的运算结果。它不等于任何值,包括它自己。可以用isNaN(number)来检测。同Java中的字符串一样,JS中的字符串是不可变的。也就是说一旦字符串被创建,就无法改变。下标表达式(如s[3],代替s.charAt(3))可以读取字符,但是不能用于改变字符。null,u...
分类:编程语言   时间:2014-08-22 19:28:19    阅读次数:280
weblogic诊断案例-AdminServer平均1-2周崩溃
OS2台:RH5.5WEBLOGIC VERSION:9.2.3JDK:1.5 64位 weblogic一个管理服务,4个受管(2台服务器做集群,每台服务器2个受管)。应用部署后通过一个月测试发现adminserver1-2周就崩溃一次。日志错误信息种类很多如下:#### > ...
分类:Web程序   时间:2014-08-22 19:27:49    阅读次数:582
将数值四舍五入后格式化,带有千分位
//保留几位小数 function fmoney(obj, num) { return obj.value = formatNumber(obj.value, 2, 1); } /* 将数值四舍五入后格式化. @param num 数值(Number或者string) @param cent 要保留的小数位(Number) @param isThousand 是否需要千分...
分类:其他好文   时间:2014-08-22 17:59:19    阅读次数:225
projecteuler---->problem=35----Circular primes
Problem 35 The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselves prime. There are thirteen such primes below 100: 2, 3, 5, 7, 11, 13,...
分类:其他好文   时间:2014-08-22 17:52:39    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!