The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print the sequence of ...
分类:
其他好文 时间:
2015-02-13 09:21:11
阅读次数:
155
转载请注明出处:
在开发中在Activity,Fragment中,我们一般都会增加标题的展示,现在自定义一个控件,可以在每个界面都可以使用。下面先看一下效果图:
使用的方法是自定义属性,首先在res/values/attres.xml...
分类:
其他好文 时间:
2015-02-12 16:25:19
阅读次数:
275
用 apktoool 反编译过 apk ,反编译后在res/values 下有一个 public.xml 文件
这个东西有什...
分类:
其他好文 时间:
2015-02-12 16:24:01
阅读次数:
302
INSERT INTO cp_ruleset (ruleset_id, ruleset_name, ruleset_order, ruleset_desc, compiler_code)VALUES (51239, 'C_CQB_ruleset', 0, '包括内存泄漏7种,质量规则39...
分类:
编程语言 时间:
2015-02-12 12:15:05
阅读次数:
184
INSERT INTO cp_ruleset (ruleset_id, ruleset_name, ruleset_order, ruleset_desc, compiler_code)VALUES (51230, 'C++_NIX_rule', 0, '包括内存泄漏7种,质量规则39种...
分类:
编程语言 时间:
2015-02-12 12:11:46
阅读次数:
196
Bundle 英文直译:包,捆Google官方文档概述:A mapping from String values to various Parcelable types.一个从字符串到不同“可打包”类型的映射Bundle类中存储了许多 key-value 对,可以用于在不同的Activity之间传递...
分类:
移动开发 时间:
2015-02-11 20:35:42
阅读次数:
165
admin = Context.Request.Cookies["user"].Values["username"].ToString(); Hashtable hash = new Hashtable(); hash.Add("p2", admin); hash.Add("p_state", 2)...
分类:
其他好文 时间:
2015-02-11 18:00:39
阅读次数:
122
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For ...
分类:
其他好文 时间:
2015-02-11 16:23:02
阅读次数:
144
不会覆盖或删除数据库已经存在的数据,将数据作为一张表更新到另一张表中。merge into Course as Targetusing (values (1,'Economics',3), (2,'Literrature',3), (3,'Chemistry',4))as Source (Cours...
分类:
数据库 时间:
2015-02-11 12:26:45
阅读次数:
149
Given a binary tree, return the preorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [1,2,3].
Note: Recursive soluti...
分类:
其他好文 时间:
2015-02-11 09:21:46
阅读次数:
137