int 是java 提供的8 种原始数据类型之一。Java 为每个原始类型提供了封装类,Integer 是java 为int 提供的封装类。int 的默认值为0,而Integer 的默认值为null,即Integer 可以区分出未赋值和值为0 的区别,int 则无法表达出未赋值的情况,例如,要想表达...
分类:
其他好文 时间:
2014-06-27 17:55:47
阅读次数:
317
一、SQLite3简介 SQLite3是一款开源的嵌入式关系类型数据库, 可移植性好、易使用、内存开销小。 SQLite3是无类型的,意味着可以保持任何类型的数据到任意表任意字段。 SQLite3常用的5中数据类型: text/integer/float/boolean/blob。 二、添加库 在I...
分类:
数据库 时间:
2014-06-27 16:25:38
阅读次数:
240
Graph and QueriesTime limit: 3.000 secondYou are given an undirected graph withNvertexes andMedges. Every vertex in this graph has an integer value as...
分类:
其他好文 时间:
2014-06-27 15:37:28
阅读次数:
239
Reverse digits of an integer.
分类:
其他好文 时间:
2014-06-27 12:41:43
阅读次数:
211
Given an integer, convert it to a roman numeral.
分类:
其他好文 时间:
2014-06-27 12:41:06
阅读次数:
199
Given an unsorted integer array, find the first missing positive integer.
分类:
其他好文 时间:
2014-06-27 12:39:02
阅读次数:
185
Given a roman numeral, convert it to an integer.
分类:
其他好文 时间:
2014-06-27 12:33:17
阅读次数:
179
Determine whether an integer is a palindrome. Do this without extra space.
分类:
其他好文 时间:
2014-06-27 12:28:06
阅读次数:
228
Implement atoi to convert a string to an integer.
分类:
其他好文 时间:
2014-06-27 12:08:39
阅读次数:
143
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.
分类:
其他好文 时间:
2014-06-27 11:40:49
阅读次数:
156