You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-06-28 14:31:12
阅读次数:
201
转自:http://hi.baidu.com/kissbaofish/item/2f56d326742c39454799620b用dbca建库停在46%是export NLS_LANG='american_america.ZHS16GBK'export NLS_LANG="SIMPLIFIED CH...
分类:
数据库 时间:
2014-06-28 13:46:10
阅读次数:
906
Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each word is a valid dictionary word.Return all such possibl...
分类:
其他好文 时间:
2014-06-28 12:40:47
阅读次数:
219
[root@linux ~]# mysql -u root -p 123456Enter password: ERROR 1049 (42000): Unknown database '123456'[root@linux ~]# mysql -u root -p Enter password: W...
分类:
数据库 时间:
2014-06-28 10:55:09
阅读次数:
254
Lua中提供的元表是用于帮助Lua数据变量完成某些非预定义功能的个性化行为,如两个table的相加。假设a和b都是table,通过元表可以定义如何计算表达式a+b。当Lua试图将两个table相加时,它会先检查两者之一是否有元表,然后检查该元表中是否存在__add字段,如果有,就调用该字段对应的值....
分类:
其他好文 时间:
2014-06-24 10:21:33
阅读次数:
309
1 判断数据库是否存在if exists (select * from sys.databases where name = '数据库名')drop database [数据库名]2 判断表是否存在if exists (select * from sysobjects where id = obje...
分类:
数据库 时间:
2014-06-24 10:20:17
阅读次数:
248
比如apt-cache show geditapt-cache show vim说明:由于图形化界面方法(如Add/Remove... 和Synaptic Package Manageer)比较简单,所以这里主要总结在终端通过命令行方式进行的软件包安装、卸载和删除的方法。一、Ubuntu中软件安装方...
分类:
其他好文 时间:
2014-06-24 08:54:14
阅读次数:
338
1.第三方jar包的使用 如果在Java Build Path中使用Add External JARs这种方式,运行时会有找不到类的错误(我的上面有,如果你没出现,恭喜你),上网查了几种方式,我这边运行通过的方式如下: 在项目中建个lib文件夹,把需要的jar包复制进去,在 Java Build P...
分类:
移动开发 时间:
2014-06-23 08:32:49
阅读次数:
387
2014-06-20 BaoXinjianDBA常用的SQL汇总1.监控索引是否使用alter index &index_name monitoring usage;alter index &index_name nomonitoring usage;select * from v$object_u...
分类:
数据库 时间:
2014-06-23 08:04:16
阅读次数:
370
题目链接:http://61.187.179.132/JudgeOnline/problem.php?id=2423题意:求两个串的LCS以及LCS的个数。思路:int f[2][N],g[2][N];char s[N],t[N];int n,m;void add(int &x,int y){ .....
分类:
其他好文 时间:
2014-06-23 07:43:17
阅读次数:
354