If you wept for the missing sunset, you would miss all the shining stars. 如果你为错过夕阳而哭泣,那你有可能也会错过灿烂的星空。 You didn't see the sunset, it was what you wante ...
分类:
其他好文 时间:
2016-07-31 19:22:53
阅读次数:
141
#include <stdio.h>#include <locale.h>char *Weekdays[] = { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" };void printWee ...
分类:
编程语言 时间:
2016-07-25 16:09:40
阅读次数:
215
You are beautiful, but that is not why I love you. 你如此美丽,但我并非因此而爱你。 Although we have always been told that don't judge a thing from its appearance, it ...
分类:
其他好文 时间:
2016-07-18 02:36:34
阅读次数:
175
List是长度不可变,内容也不可变的 初始化: val days = List("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday",1,2,3,4,5,6,7) // 通过apply创建val so ...
分类:
其他好文 时间:
2016-07-12 19:17:32
阅读次数:
152
Everything is good when new, but friend when old. 老朋友更醇香。 When did you meet with your last friends last time? Several weeks ago. We had talked about e ...
分类:
其他好文 时间:
2016-07-10 21:41:28
阅读次数:
164
2016-07-03 First-hand experience is often necessary for personal growth. 亲身体验通常是成长所必须的。 Although sometimes we can learn from others, it is of great im ...
分类:
其他好文 时间:
2016-07-03 15:38:27
阅读次数:
180
next_day()获得当前日期的下一个星期几的日期,从字面意思容易理解成是获得当前日期的接下来的几天的日期。例如:selectnext_day(to_date(‘20160330‘,‘yyyymmdd‘),1)fromdual;返回结果是20160403。参数可以是数字1-7或者是monday-sunday获得下个星期的周几的日期。另外一个常用..
分类:
数据库 时间:
2016-06-30 14:49:32
阅读次数:
181
(I'm sitting here in Seattle airport at 7am on Sunday waiting to catch the same flight to Boston that I caught two weeks ago. Instead of TechEd, this ...
分类:
数据库 时间:
2016-05-18 23:31:18
阅读次数:
241
sunday算法简单易懂,比KMP和BM都更容易理解。以后再补充KMP的算法。
竟然有人看我的文章。。。本来以为没人看的,所以就偷懒,原来的文字说明只有上面那一句,这下弄得我好羞愧。。。
来补充多点解释吧。
sunday算法是一个外国人在1990年发明的。。具体是谁忘记了,但他的名字里有sunday这个词,所以我猜这就是为什么叫sunday算法。
首先因为sunday算法每次的位置移动比...
分类:
编程语言 时间:
2016-05-12 22:36:24
阅读次数:
231
// 一维数组 // 定义方式:int [ ] 变量名 = new int [ n ]; // 初始化:int [ ] myArray = new int [ ] {1,2,3,4,5}; string [] weekdays = new string [] {"Sunday","Monday"," ...
分类:
编程语言 时间:
2016-05-11 01:04:24
阅读次数:
120