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...
分类:
其他好文 时间:
2014-05-16 21:15:37
阅读次数:
454
打开ODBC数据源设置,切换到system dsn,新建DSN设置,驱动选IBM INITIATE
ORACLE
DRIVER,然后配置链接的服务器IP,端口,服务名。完成数据源配置!也可以用INITIATE命令行的方式配置数据源,方法是:命令行在IBM\Initiate\Engine10.0.0\...
分类:
其他好文 时间:
2014-05-16 19:17:32
阅读次数:
246
应用程序连接测试数据库时报ORA-12516:TNS:listener could not find
available handler with matching protocol stack 检查监听日志文件,发现大量的TNS-12516错误 cd
/u01/app/oracle/product...
分类:
其他好文 时间:
2014-05-16 18:23:03
阅读次数:
247
Function waitFn = new Function() {@Overridepublic
Boolean apply(WebDriver driver) { Point newPos =
page.getWDGAttrDetail().getLocation(); return newPo...
分类:
其他好文 时间:
2014-05-16 07:42:46
阅读次数:
259
出错原因很简单:数据库服务没开,自然就打不开Session了。
分类:
编程语言 时间:
2014-05-16 06:44:46
阅读次数:
479
题目: Givennpoints on a 2D plane, find the maximum
number of points that lie on the same straight line.解题思路:
第一反应:枚举两个点组成的直线,然后看其他的点在不在这条直线上,在此过程中统计最大.....
分类:
其他好文 时间:
2014-05-16 05:54:57
阅读次数:
193
Mr. White, a fat man, now is crazy about a game
named ``Dance, Dance, Revolution". But his dance skill is so poor that he could
not dance a dance, eve...
分类:
其他好文 时间:
2014-05-15 16:57:57
阅读次数:
502
在安装adt eclipse后,打开eclipse提示error:could not open
eclipse\jre\lib\amd64\jvm.cfg据网上显示原因应该是以前安装过java,然后错误什么的。。甲骨文也太那啥了,好像身边装java的人都遇到过大大小小的各种配置问题。我的情况是,以前...
分类:
系统相关 时间:
2014-05-15 15:17:43
阅读次数:
466
【题目】
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 longest palindromic substring.
【题意】
题意是找出字符串S中最长回文子串,S最长为1000,保证有唯一解
【思路】
原字符串用特殊字符#间隔,如下所示:
#a...
分类:
其他好文 时间:
2014-05-15 03:31:25
阅读次数:
299
1 STL的map表里有一个erase方法用来从一个map中删除掉指令的节点 2 eg: 3 map
mapTest; 4 typedef map::iterator ITER; 5 ITER iter=mapTest.find(key); 6
mapTest.erase(iter...
分类:
其他好文 时间:
2014-05-14 09:19:03
阅读次数:
319