一、基础理解:var e = document.getElementById("selectId");e. options= new Option("文本","值") ;//创建一个option对象,即在标签中创建一个或多个文本//options是个数组,里面可以存放多个文本这样的标签1:optio...
分类:
编程语言 时间:
2014-11-03 11:24:03
阅读次数:
140
Error:Unable?to?start?the?daemon?process.
This?problem?might?be?caused?by?incorrect?configuration?of?the?daemon.
For?example,?an?unrecognized?jvm?option?is?used.
Please?refer...
分类:
移动开发 时间:
2014-11-03 06:47:47
阅读次数:
902
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1758晕。。。。状压没考虑循环方向然后错了好久。。这点要注意。。。(其实就是01背包变成了完全背包QAQ我们...
分类:
其他好文 时间:
2014-11-02 22:11:16
阅读次数:
233
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4198约瑟夫变形根据f(n)=(f(n-1)+m)%n因为是求倒数第几个那么我们只要求出f(倒数第几个)的值...
分类:
其他好文 时间:
2014-11-02 19:28:41
阅读次数:
169
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=465&page=show_problem&problem=2399最长的很简单,将串翻转过来后求两个串的lcs就是答案。。主要是字典序那里。。...
分类:
其他好文 时间:
2014-11-02 17:51:53
阅读次数:
260
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1475正反一次lis然后去min{左,右}*2-1即可#include #include #include ...
分类:
其他好文 时间:
2014-11-02 16:27:40
阅读次数:
207
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4170d[i,j]前i个字符j结尾d[i,j]=min{d[i-1,k], j和k有边}+(a[i]!=j)...
分类:
其他好文 时间:
2014-11-02 16:22:07
阅读次数:
214
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=36The 3n+ 1 problemBackgroundProblems in Computer Scien...
分类:
其他好文 时间:
2014-11-02 16:14:58
阅读次数:
137
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=27&page=show_problem&problem=2549设w[i,j]为i-j能分割成的最少回文串f[i]为前i个字符能够分成的最少回...
分类:
其他好文 时间:
2014-11-02 14:57:40
阅读次数:
159
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2330参考资料:《算法入门经典训练指南》刘汝佳 P197这本书上面写的题目大意、解题思路都写...
分类:
编程语言 时间:
2014-11-02 07:03:27
阅读次数:
232