dataguard 归档丢失(主库中无此丢失归档处理),备库基于SCN恢复环境:OS: CentOS 6.5DB: Oracle 10.2.0.5 1.主备库环境主库:SQL> select dbid,name,LOG_MODE,open_mode,db_unique_name,DATABASE_R...
分类:
其他好文 时间:
2014-09-13 22:45:46
阅读次数:
343
[leetcode]Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target....
分类:
其他好文 时间:
2014-09-13 13:25:25
阅读次数:
180
1)3Sumhttps://oj.leetcode.com/problems/3sum/Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the a...
分类:
编程语言 时间:
2014-09-12 11:38:13
阅读次数:
298
递归 1 /** 2 * Definition for binary tree 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode...
分类:
其他好文 时间:
2014-09-12 11:36:23
阅读次数:
183
自定义Panel控件的布局过程分两步:计算子元素尺寸和安排子元素布局,分别对应如下函数: MeasureOverride(Size contraint):参数constraint表示所有子元素大小都要在contraint的范围内,调用每个子元素的Measure(Size size)方法确定子元素的s...
分类:
其他好文 时间:
2014-09-11 20:56:42
阅读次数:
182
CREATE TABLE Tables( [SID] [numeric](12, 0) IDENTITY(1,1) NOT NULL, [UpdateTime] [datetime] NOT NULL, CONSTRAINT [PK_Tables] PRIMARY KEY (SID ...
分类:
数据库 时间:
2014-09-11 17:02:32
阅读次数:
206
print all unique solution to split number n, given choice of 1 3 5 10for example if n is 4{1, 1, 1, 1}{1, 3}思路:用DFS肯定可以求解,但需要遍历所有可能,进行剪纸之后用递推实现。主要剪枝思想...
分类:
其他好文 时间:
2014-09-10 19:27:20
阅读次数:
144
这一章暂时没写完,先留着以后再写。在C++程序中,程序员可以给手动开辟内存,但是这块内存需要手动释放,不便管理,因此新标准提供智能指针类型来管理动态对象。它负责自动释放所指向的对象。shared_prt允许多个指针指向同一个对象unique_ptr独占所指向的对象weak_ptr是一个弱引用,指向s...
分类:
编程语言 时间:
2014-09-09 21:28:39
阅读次数:
413
Problem Description:
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2...
分类:
其他好文 时间:
2014-09-09 16:17:29
阅读次数:
200