必须条件:99美元的帐号,没有这个就不用再往下看了。首先,登录到http://developer.apple.com/devcenter/ios/index.action,如果已经购买了iPhone Develop Program(iDP),登录进去后,页面右上角会看到如下图所示的页面:点击第一项:...
分类:
移动开发 时间:
2014-07-09 22:11:01
阅读次数:
270
1. 层序构建和先序遍历: 1 public class Tree { 2 public Tree left; 3 public Tree right; 4 public int val; 5 6 public Tree() { 7 8 } 9 10 ...
分类:
其他好文 时间:
2014-07-09 21:16:15
阅读次数:
150
语言:Python描述:使用递归实现 1 # Definition for a binary tree node 2 # class TreeNode: 3 # def __init__(self, x): 4 # self.val = x 5 # self...
分类:
其他好文 时间:
2014-07-09 20:46:34
阅读次数:
168
一、服务端 1、主要结构: 2、主要代码: 1)web.xml index.jsp LoginServlet com.wiscom.servlet.LoginServlet LoginServlet /LoginSe...
分类:
移动开发 时间:
2014-07-09 00:20:21
阅读次数:
189
引言帮一个朋友弄前端布局,一切都正常,但是嵌入object之后,div总是在object的下面,就上网找了一下解决方案,这里记录一下,好像只对flash有效。用embed插入一个flash(比如优酷的视频),结果总是能把其它元素盖住。把其它元素的z-index改成巨大都没用。现有的解决方案是在插入f...
分类:
Web程序 时间:
2014-07-08 23:36:23
阅读次数:
401
原题链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4114138453571368DNA Consensus StringAcceptedC++0.0...
分类:
其他好文 时间:
2014-07-08 23:25:19
阅读次数:
353
题目
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent
a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find ...
分类:
其他好文 时间:
2014-07-08 21:43:08
阅读次数:
219
# @left part: [start, mid]
# @right part: (mid, end]
def merge(data, start, mid, end):
if mid < start or end < mid:
return 0
reverse = 0
'''
@ for start, it play as the start index of left par...
分类:
其他好文 时间:
2014-07-08 15:04:06
阅读次数:
204
下面以一个项目简单介绍easyui的使用,主要包括以下组件 布局面板 - layout 可伸缩面板 - accordion选项卡 - tabs控制面板 - panel 窗口 - window 对话框 - dialog 消息窗口 - messager数据表格 - datagrid 分页 - pagination 树型菜单 - tree 等等...可先下载项目源码 对各个组件有个大致了解 xxx...
分类:
其他好文 时间:
2014-07-08 13:36:04
阅读次数:
249
原题: ZOJ 3686http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3686这题本来是一个比较水的线段树,结果一个mark坑了我好几个小时。。哎。太弱。先DFS这棵树,树形结构转换为线性结构,每个节点有一个第一次遍历的时间...
分类:
其他好文 时间:
2014-07-08 00:46:56
阅读次数:
295