1 /** 2 * Definition for binary tree 3 * public
class TreeNode { 4 * int val; 5 * TreeNode left; 6 * TreeNode right; 7 *
TreeNo...
分类:
其他好文 时间:
2014-05-09 12:16:45
阅读次数:
232
哈哈 说到咱的互联网大佬 baidu,
真是无人不知,无人不晓,可是多少人能领会他的设计哲学呢?来看看吧。。。。事情要从上周的一个小实验说起,目标是调用baidu map api
做个产品原型。通常呢,调用API 都是需要申请key的,方便有针对性地统计调用请求的情况,这个是行业的通用做法,然后小弟...
eclipse 发布 签名android 程序1 在项目上右键 export2 export
android application3 第一次发布 要创建一个新的keystore4 填写key信息56 finish第二次发布的时候
可以直接选择已有的keystore选择以后的alias 或者新建ok...
分类:
系统相关 时间:
2014-05-08 21:22:03
阅读次数:
1889
Given a triangle, find the minimum path sum from
top to bottom. Each step you may move to adjacent numbers on the row below.For
example, given the fol...
分类:
其他好文 时间:
2014-05-08 21:08:25
阅读次数:
407
1. Rem "parameters: 1 ebank/emas 2 simulation/real
3 path of the wp file "Rem表示将在控制台打印的注释,::后为不会打印的注释。2. if "%1"=="ebank" (set
app=ebank&&set port=400...
分类:
其他好文 时间:
2014-05-08 20:29:02
阅读次数:
248
环境:vs2012 win7 c++1 #include2
写一个比较函数,体现对象间是按照哪些key值来排序的。3 使用std::sort函数。例子如下:#include
/*排序规律:星级最大的排前面,其次等级越大排前面,再其次是经验越大排前面,最后是其次是ID值越大排越后面。*/bool my...
分类:
其他好文 时间:
2014-05-08 19:54:37
阅读次数:
226
JDK安装和环境变量配置1.下载安装软件2.安装JDK--开发环境,路径3.之后打开安装路径下的bin文件夹路径,我的是默认安装C:\Program
Files\Java\jdk1.6.0_10\bin4.右键单击我的电脑,属性,高级系统设置,高级,环境变量,系统变量,选择path编辑,复制path...
分类:
其他好文 时间:
2014-05-07 20:08:12
阅读次数:
303
solution1.Tick the primary key 1.right click on
the Id of the entity in dataset schema. 2.Edit Key 3.Tick the Primary Key
分类:
其他好文 时间:
2014-05-07 19:18:56
阅读次数:
362
备份站点Backup-SPSite -Identity -Path [-Force]
[-NoSiteLock] [-UseSqlSnapshot] [-Verbose] 那么就按照上面的代码敲吧(注意要有管理员的身份)命令是:
backup-spsite -identity http://po.....
分类:
其他好文 时间:
2014-05-07 10:24:21
阅读次数:
473
要求给定树,与路径和,判断是否存在从跟到叶子之和为给定值的路径。比如下图中,给定路径之和为22,存在路径,因此返回true;否则返回false. 5 / \ 4
8 / / \ 11...
分类:
其他好文 时间:
2014-05-07 10:15:46
阅读次数:
270