在Tomcat的server.xml中配置两个context,出现其中一个不能正常启动,交换配置顺序,另一个又不能正常启动,即始终只有第二个配置能启动的情况。如果单独部署,都没有问题。报错大致内容如下: appears to have started a thread named [com.mcha ...
分类:
移动开发 时间:
2017-05-17 00:57:42
阅读次数:
469
这次校内练习一共有6道题目,安排了一天时间来做。 虽然都做出来了,但是因为本身题目都不大难,而且自己也做了老长时间,感觉还是差了好多,尤其是编码的准确度方面。还有就是对题意的理解还是有点慢,这个也是个问题。 下面就简单说一下我对于这六道题目的解法,不一定是最好的,如果有更好的欢迎指出。 A题 放苹果 ...
分类:
其他好文 时间:
2017-05-14 12:24:51
阅读次数:
299
题目: Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that ...
分类:
其他好文 时间:
2017-05-07 22:03:59
阅读次数:
149
kiki's game Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 40000/10000 K (Java/Others)http://acm.hdu.edu.cn/showproblem.php?pid=2147 Problem Des ...
分类:
其他好文 时间:
2017-04-21 00:42:13
阅读次数:
166
【问题描述】用 Visual Studio 2013打开一个项目时,出现下面错误: 【问题原因】参考 http://codeverge.com/asp.net.web-forms/the-project-appears-to-be-under-source-cont/434113 出现上面错误的原因 ...
分类:
移动开发 时间:
2017-04-12 01:39:00
阅读次数:
1084
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times.You may assume that the ...
分类:
其他好文 时间:
2017-04-08 20:40:46
阅读次数:
165
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr ...
分类:
其他好文 时间:
2017-04-06 23:31:33
阅读次数:
146
Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime complex ...
分类:
其他好文 时间:
2017-04-01 18:58:52
阅读次数:
153
字符函数库中常用的函数 如果参数是标准空白字符,如空格、进纸、换行符、回车 、水平制表符或者垂直制表符,该函数返回true 题目 Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an ea ...
分类:
其他好文 时间:
2017-03-26 16:08:25
阅读次数:
273
Recently kiki has nothing to do. While she is bored, an idea appears in his mind, she just playes the checkerboard game.The size of the chesserboard i ...
分类:
其他好文 时间:
2017-03-21 00:01:19
阅读次数:
182