引入:最长公共子序列常用于解决字符串的相似度问题。最长公共子序列(LongestCommonSubsequence,LCS)与最长公共字串(LongestCommonSubstring):子串是串的一个连续的部分,子序列则是从不改变序列顺序,而从序列中去掉任意多个元素而获得的新的序列;也就是说,子串...
分类:
其他好文 时间:
2014-07-22 23:12:35
阅读次数:
357
github:https://github.com/kstenerud/iOS-Universal-Framework/blob/master/README.md安装:首先下载zip文件.保证你放在一个地方,并方便日后使用。B/C工程模板,每次你更新XCode的时候,你都需要重新安装这个项目模板(不...
分类:
移动开发 时间:
2014-07-22 23:12:35
阅读次数:
529
d3.behavior.drag():创建一个新的拖动行为。drag.on(type[,listener]):type:开始,拖动,结束。如果没有listener,则为type指定已注册的listener。但我测试时,如果不加listener时会出错。drag会返回x,y,可根据origin来修改,...
分类:
其他好文 时间:
2014-07-22 23:12:34
阅读次数:
623
1 #include 2 #include 3 #include 4 using namespace
std; 5 int n,C[50005]; 6 //-------------------------- 7 int lowbit(int x){ 8
return x&-x; 9 }1...
分类:
其他好文 时间:
2014-07-22 23:12:33
阅读次数:
311
NSIS 确实是一个不错的安装程序制作软件。新版本 2.0a7 真正实现了中文支持和支持 WinXP
的安装对话框。 不过要用它实现漂亮的安装界面和完美的安装功能就必须好好的写脚本。 而 NSIS 的脚本指令是在是太多了,有时候觉得好像又回到了学习 C
语言的年代。他丰富而起强大的功能甚至 可以编译...
分类:
其他好文 时间:
2014-07-22 23:12:32
阅读次数:
389
Eclipse3.1版本代号IO【木卫1,伊奥】
Eclipse3.2版本代号Callisto【木卫四,卡里斯托】Eclipse3.3版本代号Eruopa【木卫二,欧罗巴】Eclipse3.4版本代号Ganymede【木卫三,盖尼米德】Eclipse3.5版本代号Galileo【伽利略】
Eclip...
分类:
系统相关 时间:
2014-07-22 23:12:32
阅读次数:
519
What is the Execution Context & Stack in
JavaScript?In this post I will take an in-depth look at one of the most
fundamental parts of JavaScript, theE...
分类:
编程语言 时间:
2014-07-22 23:12:16
阅读次数:
608
原文地址:http://hankjin.blog.163.com/blog/static/33731937200922353623434/胖客户端的好处是可以轻易的实现绚丽的效果,
而瘦客户端则需要大量的js才能实现相应的效果. 而且当需要同时开发应用程序和Web应用程序时, 则需要将近双倍的开发时...
分类:
Web程序 时间:
2014-07-22 23:12:15
阅读次数:
325
//华为编程:筷子,找到第一个单对的筷子#include #define max 37int
main(){ int n,i,j; int a[max]; int flag=0; int error=-1; scanf("%d",&n);
if(n>max) { printf("...
分类:
其他好文 时间:
2014-07-22 23:12:15
阅读次数:
325