问题描述:公司的服务器原来安装的是Windowsserver做的raid0,因为工作需要,放弃了Windows,我想用换下来的硬盘安装一个centos用作练习机,但是安装的过程中出现DisksdacontainsBIOSRAIDmetadata,butisnotpartofanyrecongnizedBIOSRAIDsets这样的提示。问题分析:这样的提示原..
分类:
移动开发 时间:
2015-05-13 13:07:47
阅读次数:
267
题目描述:
Given a 2d grid map of '1's (land) and '0's
(water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. Y...
分类:
其他好文 时间:
2015-05-12 17:13:44
阅读次数:
124
升级到最新的stable后,python的pip还是老的. 在安装一些包的时候,报错了
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in
load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
File "/usr/lib/pytho...
分类:
其他好文 时间:
2015-05-12 15:52:33
阅读次数:
241
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining....
分类:
移动开发 时间:
2015-05-12 01:25:09
阅读次数:
143
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:
其他好文 时间:
2015-05-11 16:05:56
阅读次数:
174
New HTML5 API's (Application Programming Interfaces)The most interesting new API's are:HTML GeolocationHTML Drag and DropHTML Local StorageHTML Applic...
分类:
移动开发 时间:
2015-05-11 12:20:33
阅读次数:
134
一串非负整数,和其序号构成数对(i,v[i]),每条垂直线段的两个端点由(i,0),(i,v[i])两个点构成,两条线段与x轴形成一个容器,求最大容器的储水量。(容器不能倾斜)【思路】1.O(n^2)法:即一个对角线为0的上三角矩阵,求每条线段与其后面的所有线段组成容器的容量(其实就是面积)。该法l...
分类:
其他好文 时间:
2015-05-11 10:39:45
阅读次数:
93
如何赋值一个对象a到另一个变量b,另一个变量b发生改变原对象a保持不变。参考资料:http://stackoverflow.com/questions/122102/what-is-the-most-efficient-way-to-clone-an-object/5344074#534407htt...
分类:
编程语言 时间:
2015-05-11 08:47:08
阅读次数:
139
DescriptionRecently, researchers on Mars have discovered N powerful atoms. All of them are different. These atoms have some properties. When two of th...
分类:
其他好文 时间:
2015-05-10 21:52:21
阅读次数:
142
Problem Description
ACboy has N courses this term, and he plans to spend at most M days on study.Of course,the profit he will gain from different course depending on the days he spend on it.How to arr...
分类:
其他好文 时间:
2015-05-10 15:49:01
阅读次数:
206