Choosing number
Time Limit: 2 Seconds
Memory Limit: 65536 KB
There are n people standing in a row. And There are m numbers, 1.2...m. Every one should choose a number. But if two persons ...
分类:
其他好文 时间:
2014-11-22 14:44:25
阅读次数:
142
今天建立一个JavaWeb工程测试JNDI数据源连接,在jsp页面中引入了JSLT标签库,代码如下:12345678JNDI数据源连接测试910111213SELECT * FROM LEAD_OAMS_DBSOURCES14151617${row.RESOURCEID}---${row.DBSOU...
分类:
Web程序 时间:
2014-11-21 21:42:24
阅读次数:
318
众所周知,随着不断地进行表记录的DML操作,会不断提高表的高水位线(HWM),DELETE操作之后虽然表的数据删除了,但是并没有降低表的高水位,除非你使用TRUNCATE操作,进行表查询的时候,Oracle会扫表高水位以下的数据块,也就是说,扫描的时间并不会有所减少。所以DELETE删除数据以后并不会提高表的查询效率。
下面通过这个例子,用来解决高水位引起的查询变慢问题:
--例子中测试表占用...
分类:
其他好文 时间:
2014-11-20 23:46:25
阅读次数:
235
静态分区表:一级分区表:CREATE TABLE order_created_partition ( orderNumber STRING , event_time STRING)PARTITIONED BY (event_month string)ROW FORMAT DELIMITED...
分类:
其他好文 时间:
2014-11-20 18:21:25
阅读次数:
343
一句话,Hive 开发比 Pig快多了...从hdfs读取数据:Hive: CREATE EXTRENAL TABLE IF NOT EXIST (domain string, num int) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' loc...
分类:
其他好文 时间:
2014-11-20 13:27:34
阅读次数:
174
题目描述:
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
...
分类:
其他好文 时间:
2014-11-20 12:03:48
阅读次数:
157
with as 短语,也叫做子查询部分(subquery factoring)公用表达式(CTE)。使用范围:sql2005及以上版本有效。作用:1、提高可读性-- 表名v_OrdersWITH tableBase AS (SELECT ROW_NUMBER() OVER (ORDER BY Id)...
分类:
其他好文 时间:
2014-11-20 11:59:02
阅读次数:
179
TriangleGiven a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given...
分类:
其他好文 时间:
2014-11-20 01:28:14
阅读次数:
180
//话不多说,直接上代码----------看注释就明白 public static void getSmallFramPoint() { string framString ="Row,"+"Colum,"+ "framX," + "framY\r\n"; float i = 15f; ...
分类:
其他好文 时间:
2014-11-20 01:23:10
阅读次数:
146
介绍 前面也简单的介绍了一下插件开发的相关知识,下面主要就介绍一下GEF的相关使用。由于最近使用到编辑器这部分的操作,因此就跳过其他的内容,先介绍下GEF的相关知识。 什么是GEF? GEF的英文全称是Graphical Editing Framework,也就是图形化编辑框架。它帮助我们轻松...
分类:
其他好文 时间:
2014-11-19 23:38:36
阅读次数:
208