<scripttype="text/javascript"src="Web_Org/js/jquery-1.4.2.min.js"></script>
<scriptsrc="App_Common/PXEditor.js"type="text/javascript"></script>
$("#input1").inputlimitor({limit:10});
<inputtype="text"id="input1"/>
=======js..
分类:
其他好文 时间:
2014-08-04 14:40:37
阅读次数:
288
LCS是两个序列相似性的一种度量方法;若序列s1:2,5,7,9,3,1,2 s2:3,5,3,2,8则LCS为:5,3,2思路可参考:http://www.csie.ntnu.edu.tw/~u91029/LongestCommonSubsequence.html具体代码实现为: 1 #in...
分类:
其他好文 时间:
2014-08-04 13:47:37
阅读次数:
290
<script type="text/javascript" src="../Public/js/common.js?menuids=1,2,3,4,5&ckids=4-5-6" /></script> 需要注意的是,此段js文件位置需要放在页面中所有js包含文件后面,目前暂未想到好的办法解决位置问题。...
分类:
Web程序 时间:
2014-08-03 23:36:26
阅读次数:
646
Least Common Multiplehttp://acm.hdu.edu.cn/showproblem.php?pid=1019 1 #include 2 int gcd(int a,int b){ 3 return b?gcd(b,a%b):a; 4 } 5 int lcm(int ...
分类:
其他好文 时间:
2014-08-03 12:27:35
阅读次数:
222
IP windows:??ipconfig
Linux:????ifconfig
ping?-a?ip?//?show?host?name
Brunch,一个超快的HTML5构建工具。它可以(官方介绍):编译你的脚本,模板,样式,链接它们,将脚本和模板封装进common.js/AMD模块里,链接脚本和样式,为链接文件生成源地图,复制资源和静态文件,通过缩减代码和优化图片来收缩输出,看管你的文件更改,并且通过控制台和系统提示通知你错误.....
分类:
Web程序 时间:
2014-08-03 01:43:44
阅读次数:
337
本题的题意理解之后,就是求最长回文子序列 longest palindrome subsequence,这里注意子序列和子串的区别。
有两种求法,一种是直接求,相当于填矩阵右上对角阵,另一种是转化为longest common subsequence的求法。
最大难点就是要求内存不能使用二维的。 故此第一种方法是有点难度的,因为需要把二维矩阵的对角线转化为一维表记录,对好下标就好了。
第二中...
分类:
其他好文 时间:
2014-08-02 23:32:34
阅读次数:
326
1.初始化1. 1 创建basic_common.html文件在Demo目录下创建 basic_common.html 文件,填入下面的html代码,初始化UEditor。 常用方法 常用...
分类:
其他好文 时间:
2014-08-02 18:01:23
阅读次数:
306
传送门:http://poj.org/problem?id=1330Nearest Common AncestorsTime Limit: 1000MSMemory Limit: 10000KDescriptionA rooted tree is a well-known data structur...
分类:
其他好文 时间:
2014-08-02 12:46:23
阅读次数:
356
传送门:http://poj.org/problem?id=1470Closest Common AncestorsTime Limit: 2000MSMemory Limit: 10000KDescriptionWrite a program that takes as input a roote...
分类:
其他好文 时间:
2014-08-02 12:18:53
阅读次数:
263