Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:
其他好文 时间:
2014-09-03 11:05:46
阅读次数:
168
package wrapper;public class WrapperDemo { public static void main(String[] args) { Integer a=new Integer(5); Integer b=new Integer(5...
分类:
编程语言 时间:
2014-09-03 01:26:26
阅读次数:
285
TunnelsTime Limit: 1500msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:485664-bit integer IO format:%I64d Java class name:MainBo...
分类:
其他好文 时间:
2014-09-03 00:03:46
阅读次数:
265
Prime TestTime Limit:6000MSMemory Limit:65536KTotal Submissions:29046Accepted:7342Case Time Limit:4000MSDescriptionGiven a big integer number, you are...
分类:
其他好文 时间:
2014-09-03 00:03:15
阅读次数:
732
在使用java.util.List;的时候,把语句写成了:List arr = new List();导致错误:Cannot instantiate the type List正确写法是:List arr = new ArrayList();
分类:
其他好文 时间:
2014-09-02 21:13:45
阅读次数:
170
poj 1426 Find The Multiplehttp://poj.org/problem?id=1426题意:Given a positive integer n, write a program to find out a nonzero multiple(倍数) m of n whose...
分类:
其他好文 时间:
2014-09-02 19:51:15
阅读次数:
186
public static String bin2Hex(String binStr) {
int deci = Integer.valueOf(binStr,2);
return Integer.toHexString(deci);
}
public static String hex2Bin(String hexStr) {
int deci = Integer.value...
分类:
其他好文 时间:
2014-09-02 17:47:45
阅读次数:
422
简要记录存储过程语法与Java程序的调用方式 一 存储过程 首先,我们建立一个简单的表进行存储过程的测试create table xuesheng(id integer, xing_ming varchar2(25), yu_wen number, shu_xue number);inser...
分类:
数据库 时间:
2014-09-02 15:21:34
阅读次数:
291
简要记录存储过程语法与Java程序的调用方式 一 存储过程 首先,我们建立一个简单的表进行存储过程的测试create table xuesheng(id integer, xing_ming varchar2(25), yu_wen number, shu_xue number);inse...
分类:
数据库 时间:
2014-09-02 13:47:04
阅读次数:
254
uses DateUtils;const IntMultiplication: Array[1..17] Of Integer=(7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2);//函数名:IsRightID//参数:sID,身份证号码 (输入)// sSex,性别 (输出...
分类:
其他好文 时间:
2014-09-02 12:02:14
阅读次数:
564