码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
leetcode第七题--Reverse Integer
Problem:Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321终于什么都没参考就一次Accept了。可能是这题比较简单,同时自己也进步了一点点,leetcode就是这样给我...
分类:其他好文   时间:2014-10-12 22:55:28    阅读次数:151
Delphi 之 TPageControl组件
TPageControl组件属性ActivePage用来显示当前页面。示例:多页面显示procedure TForm1.FormCreate(Sender: TObject);var i:Integer;begin for i:= 0 to PageControl1.PageCount-1 do.....
分类:Windows程序   时间:2014-10-12 22:08:48    阅读次数:332
HDU1452 Happy 2004 (因子和)
Happy 2004Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionConsider a positive integer X,and let S be...
分类:移动开发   时间:2014-10-12 21:42:08    阅读次数:257
HDoj-1013
Problem Description The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resultin...
分类:其他好文   时间:2014-10-12 19:46:59    阅读次数:205
[LeetCode]N-Queens 八皇后问题扩展(经典深搜)
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all distinct solutions to the n-queens puzzle...
分类:其他好文   时间:2014-10-12 16:58:58    阅读次数:248
Poj 3233 矩阵快速幂,暑假训练专题中的某一道题目,矩阵快速幂的模板
题目链接 请猛戳~ Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Input The input contains exactly one tes...
分类:其他好文   时间:2014-10-12 16:44:58    阅读次数:199
poj3070 (斐波那契,矩阵快速幂)
FibonacciTime Limit:1000MSMemory Limit:65536KTotal Submissions:9630Accepted:6839DescriptionIn the Fibonacci integer sequence,F0= 0,F1= 1, andFn=Fn? 1+...
分类:其他好文   时间:2014-10-11 23:12:36    阅读次数:310
oracle——基础知识
一、Oracle中的数据类型1、字符串类型。如:char、nchar、varchar2、nvarchar2。2、数值类型。如:int、number(p,s)、integer、smallint。3、日期类型。如:date、interval、timestamp。4、PL/SQL类型。如:pls_inte...
分类:数据库   时间:2014-10-11 23:05:26    阅读次数:443
HDoj-1042 大数阶乘
N! Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 53785    Accepted Submission(s): 15217 Problem Description Given an integer N(0 ≤ N ≤ 1...
分类:其他好文   时间:2014-10-11 22:04:37    阅读次数:225
java中Integer值比较不注意的问题
今天,帮人看代码时,发现这个问题,回顾起来,记录下来。 先来看一个代码片段 public static void main(String[] args) { Integer a1 = Integer.valueOf(60); //danielinbiti Integer b1 = 60; System.out.println("1:="+(a1 == b1)); ...
分类:编程语言   时间:2014-10-11 18:26:35    阅读次数:152
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!