码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
Merge Sorted Array <leetcode>
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
java中自动装箱的问题
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
HDU 4856 Tunnels
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
数论 - Miller_Rabin素数测试 + pollard_rho算法分解质因数 ---- poj 1811 : Prime Test
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
Cannot instantiate the type List&lt;Integer&gt;
在使用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 Multiple
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
通过Integer类实现二进制和16进制之间的互相转换,8进制同理
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
Oracle 存储过程
简要记录存储过程语法与Java程序的调用方式 一 存储过程 首先,我们建立一个简单的表进行存储过程的测试create table xuesheng(id integer, xing_ming varchar2(25), yu_wen number, shu_xue number);inser...
分类:数据库   时间:2014-09-02 15:21:34    阅读次数:291
Oracle 存储过程
简要记录存储过程语法与Java程序的调用方式 一 存储过程 首先,我们建立一个简单的表进行存储过程的测试create table xuesheng(id integer, xing_ming varchar2(25), yu_wen number, shu_xue number);inse...
分类:数据库   时间:2014-09-02 13:47:04    阅读次数:254
用DELPHI函数判断是否有效18位身份证号
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!