Prime DistanceTime Limit:1000MSMemory Limit:65536KTotal Submissions:12512Accepted:3340DescriptionThe branch of mathematics called number theory is abo...
分类:
其他好文 时间:
2014-09-02 17:28:25
阅读次数:
196
简要记录存储过程语法与Java程序的调用方式 一 存储过程 首先,我们建立一个简单的表进行存储过程的测试create table xuesheng(id integer, xing_ming varchar2(25), yu_wen number, shu_xue number);inser...
分类:
数据库 时间:
2014-09-02 15:21:34
阅读次数:
291
实际测试:数据库:70万条数据查询第10000页,每页10条。row_number() 耗时: 2.2秒rownum 耗时:1.3秒查询第20000页,每页10条。row_number() 耗时: 4.5秒+rownum 耗时:3.8秒+ 网上看到的说,row_number()效率最高看来是没有经....
分类:
其他好文 时间:
2014-09-02 13:58:14
阅读次数:
216
简要记录存储过程语法与Java程序的调用方式 一 存储过程 首先,我们建立一个简单的表进行存储过程的测试create table xuesheng(id integer, xing_ming varchar2(25), yu_wen number, shu_xue number);inse...
分类:
数据库 时间:
2014-09-02 13:47:04
阅读次数:
254
create or replace
PROCEDURE UPDATE_RECORDCODE is
cursor location_data is select * from location where remark in('952701','9527008','952705');--申明游标
serviceCode NUMBER:=1;
BEGIN
for l in locati...
分类:
数据库 时间:
2014-09-02 12:29:14
阅读次数:
220
问题描述
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.
解决方案
/**
* Definition fo...
分类:
其他好文 时间:
2014-09-02 00:26:44
阅读次数:
217
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1394
题意:给你一个n个数的序列,其中组成的数只有0-n,我们可以进行这么一种操作:把第一个数移到最后一个,次数不限。问,在原始数列和最新生成的数列中逆序数最小可以是多少?
刚开始以为需要枚举求逆序数,但最后知道了这个题是有规律的:一个由0-n组成的n个数的数列,当第一个数移到最后一位的时...
分类:
其他好文 时间:
2014-09-02 00:21:42
阅读次数:
249
JavaScript是一种基于对象和事件驱动的脚本语言,它提供了一些专有的类、对象及函数 1.基本数据类型 JavaScript提供了4种基本的数据类型用来处理数字和文字 Number、String、Null、Boolean1).变量 语法: var变量名=值; 变量命名规范:1)变量名由字母、数....
分类:
编程语言 时间:
2014-09-02 00:12:03
阅读次数:
322
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each numb...
分类:
其他好文 时间:
2014-09-02 00:07:23
阅读次数:
258
CHAGE(1) 用户命令 CHAGE(1)名称 chage - 更改用户密码过期信息大纲 chage [选项] 登录描述 The chage command changes the number of days between password changes and the date of th...
分类:
系统相关 时间:
2014-09-01 22:39:13
阅读次数:
434