搜索 图论 贪心 动规 ——《挑战程序设计竞赛》《数据结构》黑书二选一数论 ——《编程珠玑》
《组合数学》开拓思维的好书 《编程之美》 还有网上的趣味数学题《编程珠玑(续)》计算几何的书还没找呢。其他的就是刷oj吧。这些书 像我这么懒的人
到何时能读完呢? Any day now。不管是c/c++方...
分类:
其他好文 时间:
2014-06-16 11:08:26
阅读次数:
151
利用JavaScriptSerializer 序列化json
时间格式,得到的DateTime值值显示为“/Date(700000+0500)/”形式的JSON字符串,显然要进行转换1.利用字符串直接替换Model m =
new Model { Id = 1, Dt = DateTime.Now ...
分类:
编程语言 时间:
2014-06-16 08:32:22
阅读次数:
217
The main way to achive AOP is deploying a xml file。
Now a xml file is presented to be a explanation .
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/...
分类:
其他好文 时间:
2014-06-15 18:35:16
阅读次数:
233
取得当前时间用 now() 就行。在数据库中格式化时间 用DATE_FORMA T(date,
format) .根据格式串format 格式化日期或日期和时间值date,返回结果串。 可用DATE_FORMAT( ) 来格式化DATE 或DATETIME
值,以便得到所希望的格式。根据forma....
分类:
数据库 时间:
2014-06-13 18:26:32
阅读次数:
338
简单字符串。 1 #include 2 3 #define MAXLEN 160 4 5 char
buf[MAXLEN]; 6 int keys[4], parts[4]; 7 8 void getpart(int x) { 9 int i;10 for
(i=3; i>=...
分类:
其他好文 时间:
2014-06-13 15:10:31
阅读次数:
242
dispatch_after(dispatch_time(DISPATCH_TIME_NOW,
(int64_t)(delayInSeconds * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ code to
be executed after ...
分类:
其他好文 时间:
2014-06-13 00:49:06
阅读次数:
271
C#中的日期处理函数 //2007年4月24日 this.TextBox6.Text =
System.DateTime.Now.ToString("D"); //2007-4-24 this.TextBox7.Text =
System.DateTime.Now.ToString("d");//2...
分类:
其他好文 时间:
2014-06-12 23:27:09
阅读次数:
230
while loops
定义与实例
i = 0
numbers = []
while i < 6:
print "At the top i is %d" % i
numbers.append(i)
i = i + 1
print "Numbers now: ", numbers
print "At the bottom i is %d" % ...
分类:
编程语言 时间:
2014-06-11 00:59:17
阅读次数:
410
题目
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is marked as 1 and 0 respective...
分类:
其他好文 时间:
2014-06-10 18:28:49
阅读次数:
207