1、httpd: apr_sockaddr_info_get() failed for
serv05这个是因为httpd.conf文件没有定义ServerName,所以会用hostname来代替,而/etc/hosts文件又没有定义这个主机。在/etc/hosts文件添加127.0.0.1
serv...
分类:
其他好文 时间:
2014-05-09 03:10:56
阅读次数:
224
这道题是为数不多的感觉在读本科的时候见过的问题。人工构造的过程是怎样呢,后续遍历最后一个节点一定是整棵树的根节点,从中序遍历中查找到这个元素,就可以把树分为两颗子树,这个元素左侧的递归构造左子树,右侧的递归构造右子树,元素本身分配空间,作为根节点。
于set和map容器不同的是,vector容器不含find的成员函数,应该用stl的库函数,好在返回的也是迭代器,而vector的迭代器之间是可以做...
分类:
其他好文 时间:
2014-05-09 01:23:38
阅读次数:
275
Many people who transition from 35mm film to a
smaller digital camera are surprised to find that many of their digital images
are blurry. The underlyi...
分类:
其他好文 时间:
2014-05-08 23:51:44
阅读次数:
389
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 18:31:51
阅读次数:
399
【failed to get the task for process问题】A: Why am
I getting "Error launching remote program: failed to get the task for process"
when debugging an iPhon...
分类:
其他好文 时间:
2014-05-08 18:10:58
阅读次数:
326
Linux系统:Ubuntu12.04NagiosLinux客户端需要安装NRPE进行数据收集,如果在Ubuntu系统下安装过程中遇到下面的错误提示:checkingforSSLlibraries...configure:error:Cannotfindssllibraries那么可能是缺少sudoapt-getinstallopensslsudoapt-getinstalllibssl-dev如果nrpe-2.15..
分类:
移动开发 时间:
2014-05-08 17:02:07
阅读次数:
404
IOS常见错误分析解决(一直更新) 你值得收藏 -来自收藏总结 综合了好多的常见错误
1:clang failed with exit code 254
2:Verify exit code of build task with internal identifier '**.png'
4: _OBJC_CLASS_$_UIMainKpiXML", referenced from:
5: for architecture armv7s
。。。。。。。。...
分类:
移动开发 时间:
2014-05-08 15:49:47
阅读次数:
527
Single Number
Total Accepted: 19800 Total
Submissions: 44027My Submissions
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algor...
分类:
其他好文 时间:
2014-05-08 11:01:40
阅读次数:
298
Struts2出现错误,总是提示"There is no Action mapped for
namespace / and action name"的错误。 错误代码如下: 09:36:13,515 WARN [Dispatcher] Could
not find action or result...
分类:
移动开发 时间:
2014-05-08 10:26:18
阅读次数:
525
Given an array of integers, find two numbers
such that they add up to a specific target number.The function twoSum should
return indices of the two nu...
分类:
其他好文 时间:
2014-05-08 06:33:29
阅读次数:
339