Oracle will generate something called cursor
after it parse an statement. This thing--cursor will be stored in Library cache,
if next time you need to...
分类:
数据库 时间:
2014-05-10 01:02:22
阅读次数:
579
Say you have an array for which theithelement
is the price of a given stock on dayi.Design an algorithm to find the maximum
profit. You may complete a...
分类:
其他好文 时间:
2014-05-10 00:24:49
阅读次数:
255
Holding Bin-Laden Captive!Time Limit: 2000/1000
MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
14095 Accepted Su...
分类:
其他好文 时间:
2014-05-09 23:53:49
阅读次数:
386
要点:AsyncTask主要用于short operations (a few seconds at
the most.)。如果你需要“running for long periods of time”,官方推荐使用various APIs provided
by the java.util.con...
分类:
其他好文 时间:
2014-05-09 23:46:38
阅读次数:
304
There are two sorted arrays A and B of size m
and n respectively. Find the median of the two sorted arrays. The overall run
time complexity should be ...
分类:
其他好文 时间:
2014-05-09 23:26:18
阅读次数:
353
在verilog中,如果对于一个寄存器可能同时有两个时钟clk对其进行操作,为了防止读写冲突,需要做如下简单处理
clk_f( fast时钟)和clk_s(slow时钟)
clk_s对寄存器time_cnt进行写操作,
clk_f对寄存器time_cnt进行读操作,
所以当clk_f边沿读取time_cnt的值得时候,time_cnt可能正是clk_s对寄存器写的时候,从而造成c...
分类:
其他好文 时间:
2014-05-09 22:11:02
阅读次数:
342
一、数学库
1. 随机数
math.randomseed(os.time()); -- 设置随机种子
for i=1, 100 do
print(math.random(-1000,1000)); -- 随机区间 [-1000,1000], math.random(1000) 表示 [1,1000]
end;
2. 最大,最小值
math.max...
分类:
其他好文 时间:
2014-05-09 20:58:11
阅读次数:
669
find / –name sqlplus iostat –d 2 iostat和iowait详细解说
如果你想对硬盘做一个IO负荷的压力测试可以用如下命令 time dd if=/dev/zero bs=1M count=2048 of=direct_2G
此命令为在当前目录下新建一个2G的文件 我...
分类:
系统相关 时间:
2014-05-09 20:31:22
阅读次数:
547
转载:http://blog.csdn.net/fightforyourdream/article/details/14503469题目:最佳时间买入卖出股票:你有一个数组保存了股票在第i天的价钱,现在你最多进行两次买卖,但同一时间你手上只能保持一个股票,如何赚的最多思路:知道要用DP做,但是一开始...
分类:
其他好文 时间:
2014-05-09 20:01:47
阅读次数:
335
var wait = 60; function time(o) { if (wait == 0) {
$(o).attr("disabled", false); $(o).val("获取验证码"); wait = 60; ...
分类:
Web程序 时间:
2014-05-09 19:25:41
阅读次数:
569