题目:Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or eq...
分类:
编程语言 时间:
2015-01-21 23:53:45
阅读次数:
175
链接:va_list百科1:概述VA_LIST 是在c语言中解决变参问题的一组宏,所在头文件:#include 2:成员#ifdef _M_ALPHAtypedef struct {char *a0; /* pointer to first homed integer argument */int ...
分类:
其他好文 时间:
2015-01-21 21:53:42
阅读次数:
143
【题目】
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
【分析】
I = 1;
V = 5;
X = 10;
L = 50;
C = 100;
D = 500;
M = 1000;
还有一些特...
分类:
其他好文 时间:
2015-01-21 18:12:13
阅读次数:
154
一、使用嵌入式关系型SQLite数据库存储数据在Android平台上,集成了一个嵌入式关系型数据库——SQLite,SQLite3支持NULL、INTEGER、REAL(浮点数字)、 TEXT(字符串文本)和BLOB(二进制对象)数据类型,虽然它支持的类型只有五种,但实际上sqlite3也接受var...
分类:
移动开发 时间:
2015-01-21 18:08:44
阅读次数:
176
如果a, b, c类型都是integer型那么执行order by的时候没有问题如果a, b, c中存在string类型那么string类型的值就分为null和空,order by的时候空和null被判定为两组,有可能导致结果不符合预期SELECT name, parentId, count(*) ...
分类:
其他好文 时间:
2015-01-21 14:42:33
阅读次数:
207
【题目】
Determine whether an integer is a palindrome. Do this without extra space.
click to show spoilers.
Some hints:
Could negative integers be palindromes? (ie, -1)
If you are thinking of...
分类:
其他好文 时间:
2015-01-20 22:21:27
阅读次数:
153
Recaman's SequenceTime Limit: 3000msMemory Limit: 60000KBThis problem will be judged onPKU. Original ID:208164-bit integer IO format:%lld Java class n...
分类:
其他好文 时间:
2015-01-20 17:24:55
阅读次数:
229
Dungeon MasterTime Limit: 1000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:225164-bit integer IO format:%lld Java class name:...
分类:
其他好文 时间:
2015-01-20 17:20:26
阅读次数:
100
MySQL支持的数据类型 1、数值类型 整数类型:TINYINT (1)、SMALLINT (2)、MEDIUMINT (3)、INT/INTEGER (4)、BIGINT (8) 浮点数类型:FLOAT (4)、DOUBLE (8) 位类型:BIT(M) (1~8)对于整形数据,支持在类型名称后....
分类:
数据库 时间:
2015-01-20 15:36:21
阅读次数:
154
1 , handler.postDelayed 定时 timerCount = Integer.parseInt(timer_tv.getText().toString()); // 页面上10秒 倒数 handler = new Handler(); ...
分类:
其他好文 时间:
2015-01-20 15:35:45
阅读次数:
187