今天用虚拟机挂载了一个镜像文件,结果虚拟机不能打开(见下图),结果我还以为是我挂载的操作给影响的,后来经过谷歌查询,原来是因为linux内核升级的原因。仔细的想了一下,自己的确在上次关机的时候给电脑更新过软件。谷歌查询了解决办法,知道了原因,不过没按照网上说的去做。我是把虚拟机卸载(不会删除自己虚拟的系统),然后重新安装,结果就可以正常使用了。
卸载虚拟机VirtualBox(可以输入vir然后...
分类:
其他好文 时间:
2014-06-05 11:33:59
阅读次数:
222
【题目】
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).
For example,
S = "ADOBECODEBANC"
T = "ABC"
Minimum window is "BANC".
Note:
If there is no such window in S that covers ...
分类:
其他好文 时间:
2014-06-05 11:14:26
阅读次数:
255
【题目】
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).
For example,
S = "ADOBECODEBANC"
T = "ABC"
Minimum window is "BANC".
Note:
If there is no such window in S that covers ...
原题地址:https://oj.leetcode.com/problems/max-points-on-a-line/题意:Givennpoints
on a 2D plane, find the maximum number of points that lie on the same strai...
分类:
编程语言 时间:
2014-06-03 08:55:48
阅读次数:
282
ProblemYou want to find the latitude and
longitude of a device.SolutionUse the CLLocationManager class:#import
"WSYViewController.h"#import @interface...
分类:
其他好文 时间:
2014-06-03 07:15:49
阅读次数:
275
【题目】Given a set of files, of which the sizes
will not exceed 10 Gigabytes, find out whether an input string appears or
not.Your program is judged base...
分类:
其他好文 时间:
2014-06-03 07:15:17
阅读次数:
472
1、一个文档如下db.posts.find(){ "_id" :
ObjectId("5388162dfc164ee1f39be37f"), "title" : "Java Example", "content" :
"This is a example for Java!", ...
分类:
数据库 时间:
2014-05-31 21:50:28
阅读次数:
396
匈牙利算法。 1 #include 2 #include 3 4 #define MAXNUM
1005 5 6 char map[MAXNUM][MAXNUM]; 7 char visit[MAXNUM]; 8 int son[MAXNUM]; 9 10
int find(int x, i...
分类:
其他好文 时间:
2014-05-31 16:54:26
阅读次数:
291
1.首先准备好数据库。2.在MyEclipse的右上角切换透视图,切换到MyEclipse
Database Explorer3.在最左边点击右键,选择New(也就是新建一个数据库连接),然后编写第一个页面, Driver template:
MySQL Connector/J (因为是建立数据库....
分类:
数据库 时间:
2014-05-31 14:16:23
阅读次数:
352
Given a string, find the length of the longest
substring without repeating characters. For example, the longest substring
without repeating letters fo...
分类:
其他好文 时间:
2014-05-30 23:46:09
阅读次数:
453