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 i...
分类:
其他好文 时间:
2014-11-17 06:53:34
阅读次数:
138
stringbuilder在博主Empty的“从零开始编写自己的CSharp框架解决方案20141113”中用来存用户登录信息,所以我也就对string 、stringbuffer 、stringbuilder 进行了了解。string就不说了。stringbuffer的速度比stringbuild...
分类:
其他好文 时间:
2014-11-17 00:26:11
阅读次数:
197
public static string GetCustomProperty(this Excel.Workbook book, string propertyName) { //string strResult = string.Empty; ...
分类:
其他好文 时间:
2014-11-16 23:01:19
阅读次数:
741
'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire input stri...
分类:
其他好文 时间:
2014-11-15 06:35:33
阅读次数:
152
function filedown($id, $type){ $ziliao = M("ziliao"); $data = $ziliao->where("id=%d and type=%d",$id,$type)->find(); if(empty($data)){ $this->downerr....
分类:
Web程序 时间:
2014-11-14 17:16:09
阅读次数:
187
开始学习VBS了~语法VarType(varname)varname 参数可以是任何变量。返回值VarType 函数返回下列值:常数 值 描述vbEmpty 0 Empty(未初始化)vbNull 1 Null(无有效数据)vbInteger 2 整数vbLong 3 长整数vbSingle 4 单...
分类:
其他好文 时间:
2014-11-14 01:26:37
阅读次数:
165
关于String.Empty和Null的问题是这样的,这两个都是表示空字符串,其中有一个重点是string str1= String.Empty和 string str2=null 的区别,这样定义后,str1是一个空字符串,空字符串是一个特殊的字符串,只不过这个字符串的值为空,在内存中是有准确的指...
分类:
其他好文 时间:
2014-11-13 20:24:54
阅读次数:
177
Valid SudokuDetermine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are ...
分类:
其他好文 时间:
2014-11-13 18:26:31
阅读次数:
145
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
CGContextRef contex...
分类:
移动开发 时间:
2014-11-13 09:24:05
阅读次数:
350
在includes/init.php目录下 因为工作原因,需要对ecshop二次开发,顺便记录一下对ecshop源代码的一些分析: 首先是init.php文件,这个文件在ecshop每个页面都会 调用到,习惯就先分析它:= '5.1' && !empty($timezone)){ dat...
分类:
Web程序 时间:
2014-11-12 19:36:04
阅读次数:
431