码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
89.Gray Code(回溯)
The gray code is a binary numeral system where two successive valuesdiffer in only one bit. Given a non-negative integer n representing the totalnumber of bits in the code, print the sequence of gray...
分类:其他好文   时间:2015-02-11 09:24:25    阅读次数:233
Java中Integer类的方法
java.lang 类 Integerjava.lang.Object java.lang.Number java.lang.Integer全部已实现的接口: Serializable, Comparable public final class Integerextends Number...
分类:编程语言   时间:2015-02-10 20:09:03    阅读次数:150
leetcode[7]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 som...
分类:其他好文   时间:2015-02-10 15:04:23    阅读次数:161
leetcode[9]Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:其他好文   时间:2015-02-10 15:04:06    阅读次数:186
leetcode[41]First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他好文   时间:2015-02-10 14:55:06    阅读次数:155
leetcode[12]Integer to Roman
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.public class Solution { public String int...
分类:其他好文   时间:2015-02-10 14:48:34    阅读次数:131
临时代码
var access, t: OleVariant; tmpQuery: TADOQuery; FTable: _Table; FCatalog: _Catalog; FIndex: _Index; I: Integer; pty: adox_tlb.Property_; pties...
分类:其他好文   时间:2015-02-10 14:42:50    阅读次数:183
leetcode[8]String to Integer (atoi)
Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ...
分类:其他好文   时间:2015-02-10 14:40:36    阅读次数:133
leetcode[13]Roman to Integer
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.class Solution {public: int romanToInt(st...
分类:其他好文   时间:2015-02-10 14:39:57    阅读次数:111
delphi XE7 数组操作中缺少的find(POS)功能
delphi xe7 中对数组操作做了很多扩充,比如加入了类似字符串处理的功能。例如,数组相加var A: array of integer; B: TBytes = [1,2,3,4]; //Initialization can be done from declarationbegin ....
分类:编程语言   时间:2015-02-10 13:15:23    阅读次数:173
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!