题目:(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
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
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
1.整数(默认类型为int) 如果数据大于Long类型的范围,可以使用BigInteger类 进制转换: 八进制:0开头 十六进制:0x或者0X开头 Integer.toBinaryString(); //转换为二进制 Integer.toOctalSt...
分类:
编程语言 时间:
2014-12-24 21:18:56
阅读次数:
218
描述: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
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
procedure TForm1.btn1Click(Sender: TObject); var sFile,sLine: TStrings; r,c:Integer;begin sFile := TStringList.Create; sFile.LoadFromFile('d:\...
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的使用一、在Firefox中打开sqlite3(如果没有,选择工具->附加组件,添加即可)新建sqlite3数据库,Contacts,建立一个members表,字段 id,integer,主键,自增;name,varchar;email,varchar,null;birthda...
分类:
移动开发 时间:
2014-12-24 09:46:00
阅读次数:
228
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