码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
[leetcode] Excel Sheet Column Title
题目:(Math)Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ......
分类:其他好文   时间:2014-12-25 06:34:34    阅读次数:157
LintCode-Hash Function
In data structure Hash, hash function is used to convert a string(or any other type) into an integer smaller than hash size and bigger or equal to zer...
分类:其他好文   时间:2014-12-25 06:33:10    阅读次数:376
【leetcode】Roman to Integer
Roman to IntegerGiven a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.罗马数字有如下符号:基本字符IVXLCDM阿拉伯数字15...
分类:其他好文   时间:2014-12-25 00:03:39    阅读次数:266
Java数据类型
1.整数(默认类型为int) 如果数据大于Long类型的范围,可以使用BigInteger类 进制转换: 八进制:0开头 十六进制:0x或者0X开头 Integer.toBinaryString(); //转换为二进制 Integer.toOctalSt...
分类:编程语言   时间:2014-12-24 21:18:56    阅读次数:218
LeetCode Problem 9:Palindrome Number回文数
描述:Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thi...
分类:其他好文   时间:2014-12-24 19:57:39    阅读次数:127
LeetCode(168) Excel Sheet Column Title
1 题目:Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... ...
分类:其他好文   时间:2014-12-24 17:55:01    阅读次数:165
DELPHI 读取csv 格式文本文件
procedure TForm1.btn1Click(Sender: TObject); var sFile,sLine: TStrings; r,c:Integer;begin sFile := TStringList.Create; sFile.LoadFromFile('d:\...
分类:Windows程序   时间:2014-12-24 16:02:46    阅读次数:216
LintCode-K Sum
Given n distinct positive integers, integer k (k i) d[i][j][v] += d[i][j-1][v];22 if (v>=A[j-1]) d[i][j][v] += d[i-1][j-1][v-A[j-1...
分类:其他好文   时间:2014-12-24 13:22:01    阅读次数:206
ios对SQLite3的使用
ios对SQLite3的使用一、在Firefox中打开sqlite3(如果没有,选择工具->附加组件,添加即可)新建sqlite3数据库,Contacts,建立一个members表,字段 id,integer,主键,自增;name,varchar;email,varchar,null;birthda...
分类:移动开发   时间:2014-12-24 09:46:00    阅读次数:228
leetcode Excel Sheet Column Title
Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->...
分类:其他好文   时间:2014-12-24 07:38:48    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!