搜索 图论 贪心 动规 ——《挑战程序设计竞赛》《数据结构》黑书二选一数论 ——《编程珠玑》
《组合数学》开拓思维的好书 《编程之美》 还有网上的趣味数学题《编程珠玑(续)》计算几何的书还没找呢。其他的就是刷oj吧。这些书 像我这么懒的人
到何时能读完呢? Any day now。不管是c/c++方...
分类:
其他好文 时间:
2014-06-16 11:08:26
阅读次数:
151
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
1、单行注释用:#2、多行注释用:=begin ...
=end3、语句分隔用;号4、空格在省略()的地方代替()号5、方法定义用:def
undef6、检查类型用:defined?7、变量:全局变量用$,实例变量用@(后面不能直接跟数字),类变量用@@8、输出:puts(每一个变量输出都加一个换行...
分类:
其他好文 时间:
2014-06-13 00:47:40
阅读次数:
301
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
Set theTIdHTTP.HandleRedirectsproperty to True.
It is False by default.function FetchUrl(const url: string): string; var idhttp
: TIdHTTP; begin id...
分类:
其他好文 时间:
2014-06-12 14:53:09
阅读次数:
286
题目
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
IW 会把大多数的视觉属性转换为 CSS; 我们主动使用 CSS 要分两步:第一步:
{通过窗体的 StyleSheet 属性指定要链接的 CSS 文件}procedure TIWForm1.IWAppFormCreate(Sender:
TObject);begin StyleSheet.Fil....
分类:
Web程序 时间:
2014-06-10 12:35:41
阅读次数:
241
* 作为数组类模板,肯定没有vector做得好,但是普通的数组有1个好处就是能直接操作内存,vector在这方面就不是很方便了。网上虽然也有数组类模板,多维的设计基本上都不是很好。我这个类模板多维的设计借鉴了vector,如2维数组vector> vvArr;下附源码*/
#pragma once
enum E_POSIITION
{
begin_position = 0,...
分类:
编程语言 时间:
2014-06-10 07:07:51
阅读次数:
327