这两道题用递归的解法都很简单,只是稍有不同。下面是AC代码: 1 /** 2 * Given a
binary tree, find its minimum depth. 3 * the minimum depth is the number of
nodes along th...
分类:
其他好文 时间:
2014-05-10 08:47:32
阅读次数:
271
最近xcode升级了5.1版本,升级之后程序报关于要适配arm64机器的错。之前对xcode的参数配置,一直不是很了解,但实现先面对问题了,就调查了一下并解决它。一个一个来吧。Architectures这代表,在这个项目里你想要Xcode编译的目标设备列表。Valid
Architectures还不...
分类:
其他好文 时间:
2014-05-09 17:29:01
阅读次数:
237
HTML条件注释用法诠释注释内容以样式为例,如下:1、支持所有IE浏览器2、支持非IE浏览器上面是除了IE浏览器外所有浏览器都识别这个样式,另外CSS-TRICKS的《How
To Create an IE-Only Stylesheet》一文中提供了另一种写法:3、仅仅支持IE104、仅仅支持IE...
分类:
Web程序 时间:
2014-05-09 17:12:27
阅读次数:
465
代表四种检出深度: 1、Fully
recursive——全递归:检出完整的目录树,包含所有的文件或子目录。2、Immediate children,including
folders——直接子节点,包含文件夹:检出目录,包含其中的文件或子目录,但是不递归展开子目录。3、Only file chli...
分类:
其他好文 时间:
2014-05-08 20:08:29
阅读次数:
290
当引用了其他工程时,在编译时报错,提示你编译指令架构不对,你需要查看一下这几个工程的Architecture部分是否又冲突,比如主工程设置Valid
Architecture为armv7 而 另一个子工程却设置了build active architecture only 为yes,这时如果你插入了...
分类:
移动开发 时间:
2014-05-04 20:51:04
阅读次数:
2166
自己一手搭建的网站 ASP.MVC4 最近修改写功能 之后一直发布不了 一直报
错误 15
未能将文件 easyui\themes\gray\images\Thumbs.db
复制到 obj\Release\Package\PackageTmp\easyui\themes\gray\images\Thumbs.db。 未能找到文件“easyui\themes\gray\images\Th...
分类:
其他好文 时间:
2014-05-04 18:51:44
阅读次数:
500
我下载了MAPR 官方提供的virtualbox 和
vmware版本的sandbox进行试用.开始试用了一会vmware版的,因为不太熟悉vmware的操作,而且vmplayer经常没有反应,后来改用了virtualbox版.因为sandbox是单机版的,所以必须把网络设置设为host
only,...
分类:
其他好文 时间:
2014-05-04 12:31:44
阅读次数:
319
队终于组完了,接下来大家一起加油喽~~~啧啧,队名一看就是出自本宫的文艺之手。不负队名,不负队友,不负我。Acs_original/初aseven qiucz
xgss不忘初心,方得始终==本周凸包+扫描线算法==
分类:
其他好文 时间:
2014-05-04 12:18:54
阅读次数:
252
public class Demo { private long time;//间隔的时间
private Runnable task;//指定的任务 private boolean flag = true; private Thread th =
null;//默认为nul...
分类:
其他好文 时间:
2014-05-04 10:38:17
阅读次数:
348
题目:
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some (c...
分类:
其他好文 时间:
2014-05-03 21:48:19
阅读次数:
252