A few years ago I used to be a hothead. Whenever anyone said anything, I’d think of a way to disagree. I’d push back hard if something didn’t fit my w...
分类:
其他好文 时间:
2016-01-03 00:41:16
阅读次数:
238
Digit CountsCount the number of k's between 0 and n. k can be 0 - 9.Exampleif n=12, k=1 in [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], we have FIVE 1'...
分类:
其他好文 时间:
2015-12-19 06:34:14
阅读次数:
437
使用enum来创建一个枚举。就像类和其他所有命名类型一样,枚举可以包含方法。enum Rank: Int { case Ace = 1 case Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten case Jack, Quee...
分类:
其他好文 时间:
2015-12-18 10:29:10
阅读次数:
300
five social insurance and one housing fund 五险一金medical insurance 医疗保险unemployment insurance 失业保险deposit insurance 存款保险maternity i...
分类:
其他好文 时间:
2015-12-12 00:03:26
阅读次数:
202
示例代码:此示例从控制台输入日志,设置了输出等级。## Log4J Settings for log4j 1.2.x (via jakarta-commons-logging)## The five logging levels used by Log are (in order):## 1. .....
分类:
其他好文 时间:
2015-12-11 01:28:26
阅读次数:
229
A. Uncowed ForcesKevin Sun has just finished competing in Codeforces Round #334! The round was 120 minutes long and featured five problems with maximu...
分类:
其他好文 时间:
2015-12-02 16:15:19
阅读次数:
235
1. Look Forward, Reason Back Extrapolate, interpret, then tie vision to concrete actions2. Make Big bets, Without Betting the Company Bold and ambitio...
分类:
其他好文 时间:
2015-12-02 06:33:42
阅读次数:
124
一、service引导刚开始学习Angular的时候,经常被误解和被初学者问到的组件是 service(), factory(), 和 provide()这几个方法之间的差别。This is where we'll start the twenty-five days of Angular cale...
分类:
Web程序 时间:
2015-11-17 10:56:45
阅读次数:
181
题意:给出5个点的坐标,问这5个点是否刚好是一个五角星的顶点。思路:dfs枚举5个点的顺序。判断5条邻边相等,5条对角线相等。若均满足则是,否则不是。附:为什么要判断5条对角线也相等才行呢?如图,一个正方形上面一个正三角形,同样满足 5条邻边相等,但不满足5条对角线相等。代码: 1 #include...
分类:
其他好文 时间:
2015-11-15 16:21:24
阅读次数:
150
===Documentation/kbuild/makefiles.txt===The Makefiles have five parts:Makefile the top Makefile..config the kernel conf...
分类:
其他好文 时间:
2015-11-14 18:00:57
阅读次数:
325