给定一个字符串,输出最长的重复子串举例:ask not what your countrycan do for you,but what youcan do for yourcountry最长的重复子串:can do for you思路:使用后缀数组解决分析:1、由于要求最长公共子序列,则需要找到字...
分类:
其他好文 时间:
2015-09-06 01:05:15
阅读次数:
177
Tradition suggests that the first program in a new language should print the words "Hello ,world!" on the screen. In Swift , this can be done in a sin...
分类:
其他好文 时间:
2015-09-05 23:33:59
阅读次数:
227
有时候想想真的透不过气来。不过,还好,自我调节过来了。 三天假期结束了,接下要上六天班啊,然后中秋。国庆,然后就没假期了,然后就过年了,然后一年就这么过去了,好快。 生命是一年一年又一年,到底是什么东西呢。没有人知道。我敢说由始至今没有一个人知道生命是什么。 达尔文生命进化论也只不过是个障...
分类:
其他好文 时间:
2015-09-05 23:33:58
阅读次数:
173
错误信息如下:.....150905 13:10:17 [ERROR] /usr/local/mysql/bin/mysqld: Can't open file: './mytest/t1.frm' (errno: 24)150905 13:10:17 [ERROR] /usr/local/mysq...
分类:
数据库 时间:
2015-09-05 19:04:22
阅读次数:
218
Update Homebrew’s package database.In a system shell, issue the following command:brew update2Install MongoDB.You can install MongoDB viabrewwith seve...
分类:
数据库 时间:
2015-09-05 15:06:45
阅读次数:
256
4.7.5 Efficient Construction of LALR Parsing TablesThere are several modifications we can make to Algorithm 4.59 to avoid constructing the full collec...
分类:
其他好文 时间:
2015-09-05 15:01:59
阅读次数:
184
链接:http://acm.hdu.edu.cn/showproblem.php?pid=2199Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1...
分类:
其他好文 时间:
2015-09-05 13:50:21
阅读次数:
128
By using an emitter-follower or a Darlington pair,a voltage-follower op amp configuration can source higher currents than the op amp otherwise could.W...
分类:
其他好文 时间:
2015-09-05 13:40:53
阅读次数:
195
Given a sorted array A with length m, we can split it into two part:{ A[0], A[1], ... , A[i - 1] } | { A[i], A[i + 1], ... , A[m - 1] }All elements in...
分类:
其他好文 时间:
2015-09-05 11:12:33
阅读次数:
190
撒手锏。 人总是那么的健忘,该怎么办呢,想想自己看过的电影都不记得了,该怎么办。 有点急躁啊。 今天下了一天的雨,下的还很大。 晚上都没吃饭,只是吃了点零食,没胃口。 人生就3万来天这是个问题。 天快黑的时候出去趟了趟水,感觉还挺不错,就是有点心烦。 很多东西处于生命的某一个阶段是...
分类:
其他好文 时间:
2015-09-05 00:09:42
阅读次数:
195