1 /** 2 * SharedPreferences的一个工具类,调用setParam就能保存String, Integer, Boolean, Float, Long类型的参数 3 * 同样调用getParam就能获取到保存在手机里面的数据 4 * @author xiaanmin...
分类:
移动开发 时间:
2014-07-22 08:01:35
阅读次数:
374
C. Ultra-QuickSortTime Limit: 7000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainSubmitStatusIn this problem, you have to an...
分类:
其他好文 时间:
2014-07-22 00:37:34
阅读次数:
296
HighwaysTime Limit: 1000 MS Memory Limit: 65536 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]DescriptionT...
分类:
其他好文 时间:
2014-07-22 00:34:35
阅读次数:
258
选 项 说 明-H, --hostname=ADDRESS 主机名或域名-I, --IP-address=ADDRESS server的IP地址,用于在不能DNS的情况下-p, --port=INTEGER 端口号,默认80-u, --url=PATH url,默认是/-w, --warning=D...
分类:
其他好文 时间:
2014-07-22 00:33:37
阅读次数:
354
B. Get Many Persimmon TreesTime Limit: 1000msMemory Limit: 30000KB64-bit integer IO format:%lld Java class name:MainSubmitStatusSeiji Hayashi had been...
分类:
其他好文 时间:
2014-07-22 00:30:33
阅读次数:
296
G. Count the ColorsTime Limit: 2000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainPainting some colored segments on a line, ...
分类:
其他好文 时间:
2014-07-22 00:23:34
阅读次数:
220
DescriptionThe Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers a/b with 0 < a < b <= n and gcd(a,b) = 1 arr...
分类:
其他好文 时间:
2014-07-22 00:20:35
阅读次数:
283
泛型,类型安全机制。好处:1.将运行时期出现问题ClassCastException转移到了编译时期,方便解决问题,减少运行时期的问题,有利于程序的健壮性。2.避免了强制转换的麻烦泛型格式:ArrayList al = new ArrayList();若增加Integer类型的数据,在编译的时期就会...
分类:
编程语言 时间:
2014-07-22 00:16:35
阅读次数:
193
dbms_xplan.display_cursor定义:function display_cursor(sql_id varchar2 default null, cursor_child_no integer default 0, formatvarchar2 default 'TYPICAL')...
分类:
数据库 时间:
2014-07-22 00:09:34
阅读次数:
376
简单的二叉树的先根遍历模板的应用
class Solution:
# @param root, a tree node
# @return an integer
def hehe(self, num, root):
#再原来的基础上*10,再加上当前的root.val
num = num * 10 + root.val
...
分类:
其他好文 时间:
2014-07-20 22:45:33
阅读次数:
299