应该是tomcat下部署了多个项目且都使用log4j。log4jConfigLocation/WEB-INF/log4j.propertieswebAppRootKeywebName.root
分类:
移动开发 时间:
2015-01-27 10:45:16
阅读次数:
117
传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=2561考虑做mst的时候,什么时候这条边不在这棵mst上呢? 就是比他小的权值的边讲这条边的两边并进了一个联通块里面,那么对于所有的小于所求边的权值的边建一个图,然后求一个最小割使得U, V 不...
分类:
其他好文 时间:
2015-01-27 01:45:39
阅读次数:
223
Unique Binary Search TreesGivenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a to...
分类:
其他好文 时间:
2015-01-27 00:16:11
阅读次数:
218
题目:Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty spac...
分类:
编程语言 时间:
2015-01-26 16:57:37
阅读次数:
161
题目:A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any poi...
分类:
编程语言 时间:
2015-01-26 16:32:36
阅读次数:
173
Given an array S of n integers, are there elements a, b, c in S such that a + b + c =
0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in a triplet (a,b,c...
分类:
其他好文 时间:
2015-01-26 13:41:30
阅读次数:
95
题目链接:
1679
题意:
给出 M个点N条边 求它的的最小生成树 不唯一则输出:Not Unique!
题解:
prim:判断“最小生成树是否唯一”可以理解为“最小生成树和次小生成树是否相等”
求次小生成树的步骤如下
1)先求出最小生成树T,在prim的同时,用一个矩阵maxx[u][v]记录在树中连接u-v的路径中权值最大的边.
...
分类:
其他好文 时间:
2015-01-26 11:59:52
阅读次数:
143
参考链接:http://blog.csdn.net/xingyeyongheng/article/details/9373271 http://www.cnblogs.com/chenxiwenruo/p/3294668.html 1 #include 2 #include 3 #inclu...
分类:
其他好文 时间:
2015-01-26 11:43:06
阅读次数:
205
Unique Binary Search TreesGivenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a to...
分类:
其他好文 时间:
2015-01-25 15:03:40
阅读次数:
156
题目:
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2], [1,2,1],
and [...
分类:
编程语言 时间:
2015-01-25 13:57:13
阅读次数:
206