码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
LeetCode Reverse Integer
Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321click to show spoilers.Have you thought about this?Here are some good questions to ask before coding. Bonus poi...
分类:其他好文   时间:2015-03-18 16:02:37    阅读次数:120
poj1179 区间dp(记忆化搜索写法)有巨坑!
http://poj.org/problem?id=1179 Description Polygon is a game for one player that starts on a polygon with N vertices, like the one in Figure 1, where N=4. Each vertex is labelled with an integer...
分类:其他好文   时间:2015-03-18 12:23:19    阅读次数:147
js学习20150318
类型 前缀 类型 实例对象 o object oDiv数组 a Array aItems字符串 s String sUserName整数 i Integer iItemCount布尔值 b Boolean bIsComplete浮点数 f Float fPrice函数 fn Function fnH...
分类:Web程序   时间:2015-03-18 10:13:23    阅读次数:135
扑抓当前屏幕并保存为图片
自定义截图函数functionTForm1.CaptureForm(HWND:THandle;W,H:Integer):TBitmap;varTmpBitmap:TBitmap;TmpCanvas:TCanvas;DC:HDC;beginTmpBitmap:=TBitmap.Create;TmpBitmap.Width:=W;TmpBitmap.Height:=H;DC:=GetWindowDC(HWND);TmpCanvas:=TCanvas.Create;TmpCanvas.Handle:=..
分类:其他好文   时间:2015-03-18 06:36:52    阅读次数:214
[LeetCode] Evaluate Reverse Polish Notation stack 栈
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:其他好文   时间:2015-03-18 01:09:26    阅读次数:160
JDK5不定参数方法
jdk5之后出现了调用方法时传递不定参数的情况,如下所示:List list1 = Arrays.asList(new Integer[]{1,2,3}); List list2 = Arrays.asList(new int[]{1,2,3}); 在使用不定参数时,可以传入一个数组或是以逗号间隔的...
分类:其他好文   时间:2015-03-17 23:25:41    阅读次数:198
leetcode题解||Palindrome Number问题
problem: Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of conv...
分类:其他好文   时间:2015-03-17 22:00:59    阅读次数:163
[LeetCode]Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: [“2...
分类:其他好文   时间:2015-03-17 21:56:20    阅读次数:160
Reverse Bits
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as00000010100101000001111010011100), return ...
分类:其他好文   时间:2015-03-17 21:45:00    阅读次数:103
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!