码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果
1061 快速幂取模
HDU 1061 Rightmost Digit分类: ACM 算法 2011-12-17 17:37 749人阅读 评论(2) 收藏 举报integeroutputinputeach算法c Problem DescriptionGiven a positive integer N, you sh....
分类:其他好文   时间:2014-05-09 10:20:14    阅读次数:243
Edit Distance @Leetcode -- Python
http://oj.leetcode.com/problems/edit-distance/class Solution: # @return an integer def minDistance(self, word1, word2): len1 = len(word1)...
分类:编程语言   时间:2014-05-09 04:19:03    阅读次数:407
【转】MYSQL入门学习之四:MYSQL的数据类型
转载地址:http://www.2cto.com/database/201212/175536.html一、整型 www.2cto.com 整数类型是数据库中最基本的数据类型。标准SQL中支持INTEGER和SMALLINT这两种整数类型。MySQL数据库除了支持这两种类型外,还扩展支持了T...
分类:数据库   时间:2014-05-09 00:19:56    阅读次数:516
Longest Valid Parentheses @Leetcode -- Python
http://oj.leetcode.com/problems/longest-valid-parentheses/ 1 class Solution: 2 # @param s, a string 3 # @return an integer 4 def longestVa...
分类:编程语言   时间:2014-05-09 00:11:38    阅读次数:410
sdut 2610:Boring Counting(第四届山东省省赛原题,划分树 + 二分)
Boring CountingTime Limit: 3000ms Memory limit: 65536K有疑问?点这里^_^题目描述 In this problem you are given a number sequence P consisting of N integer and Pi....
分类:其他好文   时间:2014-05-08 19:17:31    阅读次数:473
java边界问题
可以看到程序执行不完原因:i的值在变到Integer.MAXVALUE再加1是编程int的最小值永远小于最大值死循环
分类:编程语言   时间:2014-05-08 16:33:01    阅读次数:379
Leetcode: Roman to Integer
一次通过: 1 public class Solution { 2 public int romanToInt(String s) { 3 int sum = 0; 4 int[] num = new int[s.length()]; 5 if...
分类:其他好文   时间:2014-05-08 08:24:26    阅读次数:233
Leetcode: String to Integer
抠细节的题目,很多次过,特别是 Integer.MIN_VALUE 与 Integer.MAX_VALUE的绝对值并不一样大 1 public class Solution { 2 public int atoi(String str) { 3 int result=0; 4...
分类:其他好文   时间:2014-05-08 05:44:17    阅读次数:343
Android SQLite数据库操作
更多内容欢迎访问我的个人网站:www.qingshuimonk.com查看SQLite是一种轻量级关系型数据库,目前支持NULL,INTEGER,REAL(浮点),TEXT(字符串文本),BLOB(二进制文本)这五种类型。建立的数据库文件位于/data/data/package-name/datab...
分类:移动开发   时间:2014-05-08 00:50:46    阅读次数:478
java.lang.Integer can not be cast to java.lang.Long
java.lang.Integer can not be cast to java.lang.Long...
分类:编程语言   时间:2014-05-07 22:41:30    阅读次数:329
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!