DECLARE
l_rec_profile_t hz_customer_profile_v2pub.customer_profile_rec_type;
l_rec_profile hz_customer_profile_v2pub.cust_profile_amt_rec_type;
l_profile_amt_id NUMBER;
l_profile_id...
分类:
其他好文 时间:
2014-09-17 20:28:32
阅读次数:
399
题目:
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
AC率第二高的题啦,二项树的最长路径。初看此题...
分类:
其他好文 时间:
2014-09-17 20:26:52
阅读次数:
162
数据源是时间,进行时间段的比较数据格式 to_char(sysdate,'HH24:mi') 如,15:00> to_number(REPLACE(to_char(sysdate,'HH24:mi'),':','.'))
分类:
数据库 时间:
2014-09-17 18:26:22
阅读次数:
204
C - Number of Ways
直接暴力从前往后寻找,如果找到1/3sum的位置,那么标记++。找到2/3的位置,总数加上标记数。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#pragma comment(linker, "/STACK:1024000...
分类:
其他好文 时间:
2014-09-17 16:57:02
阅读次数:
282
题目链接:
huangjing
题意:
就是给了一个公式,然后求出第n项是多少。。。
思路:
题目中n的范围实在是太大,所以肯定直接递推肯定会超时,所以想到的是暴力打表,找循环节,但是也不是那么容易发现啊,所以这时候分析一下,因为最后都会mod7,所以总共有7X7总情况,即A 0,1,2,3,4,5,6,7,B也是如此,所以循环节为49,这么这个问题就解决了。。。
题目:...
分类:
其他好文 时间:
2014-09-17 16:51:42
阅读次数:
159
js的数据类型分为原始类型和对象类型原始类型分为:null,undefinded,string, number, bool; 其中null和undefinded是无法拥有方法的值,而string, number, bool也可以拥有自己的方法。 null,undef...
分类:
Web程序 时间:
2014-09-17 15:10:42
阅读次数:
200
A method for managing a memory, including obtaining a number of indices and acacheline size of acachememory, computing acachepage size by multiplying ...
分类:
其他好文 时间:
2014-09-17 13:21:52
阅读次数:
287
大家都知道PL/SQL可以向excel复制数据,同样我们也可以通过excel向数据库里插入数据。
下面我们以一个简单的例子并配以截图演示
首先,我们创建一个表test
CREATE TABLE test(
id NUMBER
);
接着我们执行如下语句
SELECT * FROM test FOR UPDATE;
并点开上图的锁
接着我们在excel里复制一列数值...
分类:
数据库 时间:
2014-09-17 12:12:20
阅读次数:
210
String类型是一个包装类型,在javascript中有三种包装类型,Boolean,Number,String三种,可以这样来构建String
var str=new String("hello world!");
String类型的每个实例都有一个Length属性,意思是字符串包含多少个字符
1.字符方法
charAt()和charCodeAt():
1.1 charAt()以单字...
分类:
编程语言 时间:
2014-09-17 10:24:02
阅读次数:
257