- 博客(3)
- 收藏
- 关注
原创 csu 1060 Nearest Sequence
题目描述 Do you remember the "Nearest Numbers"? Now here comes its brother:"Nearest Sequence".Given three sequences of char,tell me the length of the longest common subsequence of the thr
2015-05-30 10:56:12 257
原创 hihocoder #1014 trie 树
#include #include #include #include #include #include using namespace std; struct Node{ int sum; Node* code[26]; Node(){ sum=0; int i; for(i=0;i<26;i++) code[i]=NULL;
2015-05-24 12:37:09 226
原创 kmp 学习 hihocoder #1015
第一次在这里记录下来写的代码,心情还有点小激动。 周末两天一直看kmp,不过感觉还是浑浑噩噩的,真是愚鲁 - - 不过也算是看出来点儿眉目了,趁热打铁写了hihocode #1015 入门的入门 就当练手吧。 #include #include #include using namespace std; int next[1000]; void build_next(s
2015-05-24 12:30:56 289
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人