简单数组:ss["aa","vv","se","re"];ss=ss.sort();var rdata = Reports.sort(function (a, b) { if (a.bbCode > b.bbCode) { return 1; } else { return -1; } });//R...
分类:
编程语言 时间:
2014-10-17 11:32:26
阅读次数:
138
In this context, ‘local’ means you are running BLAST on your own server, not at NCBI or anyone else’s server. This gives you the flexibility of compar...
分类:
其他好文 时间:
2014-10-17 00:02:03
阅读次数:
236
1publicfunctionguid(){2//检测是否存在函数3if(function_exists('com_create_guid')){4//创建全局唯一UUID标识.5returncom_create_guid();6}else{7//随机数生成器.php4.2.0以上版本支持.8mt_...
分类:
Web程序 时间:
2014-10-16 23:11:03
阅读次数:
385
条件表达式形式:condition, then and else ...混合使用表达式实例: ...其他表达式也可以省略,在这种情况下,返回一个null值如果条件是错误的 ...
分类:
其他好文 时间:
2014-10-16 21:00:13
阅读次数:
304
function loadXMLDoc(){ var xmlhttp; if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest() } else { xmlhttp = new ActiveXObject("Microsoft.XMLH.....
分类:
Web程序 时间:
2014-10-16 20:58:13
阅读次数:
126
ECMA-262中描述了一组具有特定用途的关键字,可用于表示控制语句的开始或结束,或者用于执行特定操作等。规定:关键字属于语言保留,不可以用于标示符。 ECMAScript的全部关键字(*为第五版新增): break do instanceof typeof case else ...
分类:
编程语言 时间:
2014-10-15 23:37:01
阅读次数:
307
Scannaer sc = new Scanner(System.in)---->插入一个扫描器,可用于插入一个文本if(布尔表达式){ //如果布尔表达式为true,就执行的语句}else{ //如果布尔表达式为false,就执行的语句}JOPtionPane类,该类主要三种方法: 1、JO...
分类:
其他好文 时间:
2014-10-15 23:19:31
阅读次数:
185
1.3较大两个数之和1 (define (MaxSum x y z)2 (+ (cond ((or (> x y) (> x z)) x)3 (else 0))4 (cond ((or (> y x) (> y z)) y)5 (else 0...
分类:
其他好文 时间:
2014-10-15 20:50:11
阅读次数:
219
1、IF...ELSE (sql server没有end,oracle中有)DECLARE @co INTSET @co=(SELECT COUNT(1) FROM HGOS_UC.dbo.Emp_Ora_Role eor WHERE eor.EmpId=539 AND eor.DepId=35)I...
分类:
数据库 时间:
2014-10-15 20:48:11
阅读次数:
279
http://acm.nyist.net/JudgeOnline/problem.php?pid=15
dp[i][j]表示从i到j至少需要添加多少个括号才能满足匹配条件.
初始化:
if(i == j)
dp[i][j] = 1;
else
dp[i][j] = INF;
状态转移:
当i
if(match(str[i], str[j])) dp[i]...
分类:
其他好文 时间:
2014-10-15 18:44:31
阅读次数:
259