SQL> drop table test purge;
SQL> create table test as select * from dba_objects where rownum
SQL> update test set object_name='中国' where rownum
SQL> commit;
SQL> col object_name format a30
SQL>...
分类:
数据库 时间:
2014-07-18 14:10:03
阅读次数:
618
题意:对于给出的原括号串,存在两种数字密码串:
1.p序列:当出现匹配括号对时,从该括号对的右括号开始往左数,直到最前面的左括号数,就是pi的值。
2.w序列:当出现匹配括号对时,包含在该括号对中的所有右括号数(包括该括号对),就是wi的值。
题目要求给你一个字符串的P序列,要你去求它的W序列
思路:我比较笨、菜,所以用了比较菜的方法。先用P求出字符串S,再...
分类:
其他好文 时间:
2014-07-18 14:07:01
阅读次数:
222
Description
You are not given n non-negative integers
X0, X1,..., Xn-1 less than
220, but they do exist, and their values never change.
I'll gradually provide you some facts about them, and as...
分类:
其他好文 时间:
2014-07-18 13:35:47
阅读次数:
458
ProGuard通过删除从未用过的代码和使用晦涩名字重命名类、字段和方法,对代码进行压缩,优化和混淆。...
分类:
移动开发 时间:
2014-07-18 13:35:32
阅读次数:
229
Smith Numbers
Background
While skimming his phone directory in 1982, Albert Wilansky, a mathematician of Lehigh University , noticed that the telephone number of his brother-in-law H. Smith had ...
分类:
其他好文 时间:
2014-07-18 13:28:06
阅读次数:
234
之前解析json一直用get的方法,但是如果抛异常会让解析中断很烦人,今天发现了JSONObject还提供了一个更好用的方法opt,看来以后文档还是要认真的读的,下面是文档中的原文。
A JSONObject constructor can be used to convert an external form JSON text into an internal form whose valu...
分类:
Web程序 时间:
2014-07-18 12:32:58
阅读次数:
285
在红黑树基础上利用区间树与顺序统计树来求最大重叠点,就是被最多数目区间覆盖的那个点。...
分类:
其他好文 时间:
2014-07-18 12:32:12
阅读次数:
249
最优乘车
Time Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other)
Total Submission(s) : 18 Accepted Submission(s) : 6
Problem Description
H城是一个旅游胜地,每年都有成千上万的人前来观光。为方便游客,巴士公司...
分类:
其他好文 时间:
2014-07-18 12:31:43
阅读次数:
213
首先,下载svn
wgethttp://pecl.php.net/get/svn-1.0.1.tgz
shell> tar -zxf svn-1.0.1.tgz
shell> cd svn-1.0.1
shell> /usr/local/php/bin/phpize
shell> ./configure--with-php-config=/usr/local/php/bin/php-co...
分类:
Web程序 时间:
2014-07-18 12:30:27
阅读次数:
695