【题目链接】:click here~~
【题目大意】:
A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may
have different heights. For exampl...
分类:
其他好文 时间:
2015-07-14 22:38:58
阅读次数:
276
用下面的语句肯定是行不通的,语句不支持truncate table t_Records方法:1.删除表数据delete from t_Records where 1==12.重置自动增长列update sqlite_sequence set seq=0 where name='t_Records' ...
分类:
数据库 时间:
2015-07-14 13:18:39
阅读次数:
160
Description
A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may have different heights. For example, the figure on ...
分类:
其他好文 时间:
2015-07-13 22:33:34
阅读次数:
165
BestCoder SequenceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 271Accepted Submission(s): 112Pr...
分类:
其他好文 时间:
2015-07-13 22:06:52
阅读次数:
113
案列: 由于生产库impdp导入一个分区表,期间出了问题,终止了导入,但是undo tablespace增长飞快增长到300G了,且经过两天才降下来,但是undo tablespace如果是自动扩展,只会扩展,当事务都结束了它自己也不会收缩的,所以只能手工去收缩。 于是创建一组新的undo ...
分类:
其他好文 时间:
2015-07-13 18:27:17
阅读次数:
173
一、时序图 时序图是一种强调时间顺序的交互图,在时序图中,首先把参与交互的对象放在图的上方,沿X轴方向排列。通常把发起交互的对象放在左边,较下级对象依次放在 右边,然后把这些对象发送和接受的消息沿Y轴方向按时间顺序从上到下放置。这样就提供了控制流随着时间推移的清晰的可视化轨迹。二、时序图元素1、角色...
分类:
其他好文 时间:
2015-07-13 13:44:56
阅读次数:
273
The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of the permutations in order,We get the following sequence (ie...
分类:
其他好文 时间:
2015-07-13 13:37:19
阅读次数:
127
题目:
The count-and-say sequence is the sequence of integers beginning as follows:
1, 11, 21, 1211, 111221, ...
1 is read off as "one
1" or 11.
11 is read off as "two
1s" or 21.
21 is rea...
分类:
编程语言 时间:
2015-07-13 12:16:38
阅读次数:
120
Longest Consecutive Sequence
首先补充一些map的用法begin,end,rbegin,rend,empty,clear,size,max_size 八个常用的函数.map.begin(); 是map的起始位置map.end(); 是指map的尾部,没有实际元素.map.find(); 查找函数map.rebgin()和.rend()是反向遍历数据的起始位置和终止位置...
分类:
其他好文 时间:
2015-07-13 12:06:26
阅读次数:
100
和前面一样,要注意状态的枚举顺序,边界是d[i+1][i] = 0 和d[i][i] = 1 ,所以枚举的区间应该从小到大,大区间依赖于小区间的最优解 。
然后就是状态的转移,是如何转移的呢? d[i][j]表示字符串i~j的最优解,那么先检查i与j是否匹配,如果匹配,状态转移可以转移到d[i+1][j-1] 。 无论是否匹配,状态还都能转移到子区间上:d[i][k] 和 d[k+1][j] ...
分类:
其他好文 时间:
2015-07-12 17:30:25
阅读次数:
101