Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2015-01-25 11:03:14
阅读次数:
129
解决办法: 1.要安装的.vdi文件所在目录:D:\developTools\vm\RedHatLinux1.vdi 2.找到VirtualBox的安装目录,这里是D:\Program Files\Oracle\VirtualBox>. 3.执行命令: VBoxManage intern...
分类:
其他好文 时间:
2015-01-24 08:56:37
阅读次数:
187
processLine()
{
line="$@"
echo $line
}
FILE=""
if [ "$1" == "" ]; then
FILE="/dev/stdin"
else
FILE="$1"
if [ ! -f $FILE ]; then
echo "$FILE : does not exists"
exit 1
...
分类:
系统相关 时间:
2015-01-23 20:07:29
阅读次数:
242
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically...
分类:
其他好文 时间:
2015-01-23 18:30:06
阅读次数:
167
键key
命令
时间复杂度
命令描述
返回值
del key
O(N)
在key存在时删除key
被移除key的数量
dump key
O(N)
序列话给定key,并返回被序列化的值
exists key
O(1)...
分类:
其他好文 时间:
2015-01-23 18:29:31
阅读次数:
247
mysql数据库,创建这个表DROP TABLE IF EXISTS `t_errorlog`;CREATE TABLE `t_errorlog` ( `rowid` int(11) NOT NULL AUTO_INCREMENT, `log_date` datetime DEFAULT NULL ...
分类:
Web程序 时间:
2015-01-22 20:02:25
阅读次数:
192
use master--创建文件夹exec xp_cmdshell 'md d:project'exec xp_cmdshell 'dir d:'--判断数据库是否存在if exists(select * from sysdatabases where name='stuDB')--如果存在先删除d...
分类:
数据库 时间:
2015-01-22 17:54:10
阅读次数:
261
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:
其他好文 时间:
2015-01-22 00:10:52
阅读次数:
142
设 $f:\bbR\to\bbR$ 二次可微, 适合 $f(0)=0$. 试证: $$\bex \exists\ \xi\in\sex{-\frac{\pi}{2},\frac{\pi}{2}},\st f''(\xi)=f(\xi)(1+2\tan^2\xi). \eex$$
分类:
其他好文 时间:
2015-01-21 22:14:11
阅读次数:
181
DROP TABLE IF EXISTS `imooc_pro`;CREATE TABLE `imooc_pro`(`id` int unsigned auto_increment key,`pName` varchar(50) not null,`pNum` int unsigned defaul...
分类:
数据库 时间:
2015-01-21 19:40:41
阅读次数:
275