ForbiddenYou don't have permission to access /DuoLamPHP/index.php on this server.Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80记得WAMP2.2安...
分类:
其他好文 时间:
2014-07-29 13:44:08
阅读次数:
234
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.题意:给定一个有序的链表,将其转换成平衡二叉搜索树思路: 二分法要构建一个平衡二叉...
分类:
其他好文 时间:
2014-07-29 13:40:48
阅读次数:
601
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1271
Power Transmission
The Problem
DESA is taking a new project to transf...
分类:
其他好文 时间:
2014-07-29 13:12:27
阅读次数:
285
git在pull时,出现这种错误的时候,可能很多人进进行stash,相关stash的请看:Error
pulling origin: error: Your local changes to the following files would be overwritten by merge
但是发现stash后还是会出现:Error
pulling origin: error: The ...
The Utopian tree goes through 2 cycles of growth every year. The first growth cycle of the tree occurs during the monsoon, when it doubles in height. ...
分类:
其他好文 时间:
2014-07-29 11:57:26
阅读次数:
190
第13个位置第5个Bit :13>num[4] =>1 第四个bit 13-num[4]=5 :50 ,3-1 第三个Bit 5>num[2](3) 5-num[2]=2 ...#includeint num[45];void init(){ num[0]=1; num[1]=2; ...
分类:
其他好文 时间:
2014-07-29 11:50:46
阅读次数:
169
题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=584A:UVAlive 6161Decision Making题意:给出01字符串,判断中间两位是否相同,相同就输出...
分类:
其他好文 时间:
2014-07-29 11:17:26
阅读次数:
402
索引的作用就在于,为某个字段建立了索引之后,查询这个字段里面的数据的时候,效率更高,也就是快,比如create index abc on stu(age);为stu表的age字段建立了索引,那么查询时,select * from stu where age > 10;这个时候效率就高,主要体现在wh...
分类:
其他好文 时间:
2014-07-29 11:11:16
阅读次数:
283
树是一类重要的非线性数据结构,是以分支关系定义的层次结构定义:树(tree)是n(n>=0)个结点的有限集T,其中: n=0时为空树 n>0时,有且仅有一个特定的结点,称为树的根(root) 当n>1时,其余结点可分为m(m>0)个互不相交的有限集T1,T2,……Tm, 其中每一个集...
分类:
其他好文 时间:
2014-07-29 10:44:46
阅读次数:
212
Source:http://developer.baidu.com/wiki/index.php?title=docs/oauth/authorizationWebpageFunction:AuthorizationCodeUrl:http://openapi.baidu.com/oauth/2.0...
分类:
Web程序 时间:
2014-07-29 10:36:46
阅读次数:
353