两道lca模板题,用的是倍增法,nlogn预处理,logn查询。#include #include #include #include using namespace std;#define maxn 10100struct Edge{ int u,v,w,next;}e[100100];i...
分类:
其他好文 时间:
2014-09-25 20:24:27
阅读次数:
236
important attributes1)Snapshots, Not DifferencesThe major difference between Git and any other VCS (Subversion and friends included) is the way Git th...
分类:
其他好文 时间:
2014-09-25 03:37:28
阅读次数:
329
题目链接Connections between citiesTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5037Accepted Submis...
分类:
其他好文 时间:
2014-09-24 23:14:17
阅读次数:
173
delete from MSS_RECORD where GMT_CREATED BETWEEN to_date(to_char(sysdate,'yyyy-mm-dd') || ' 00:00:00','yyyy-mm-dd hh24:mi:ss') AND to_date(to_char(sys...
分类:
其他好文 时间:
2014-09-24 20:56:07
阅读次数:
214
Java方向问题
1. Forward与Redirect的区别,详细说明。
2. Java里有哪些多线程的类
3. 抽象类和接口的区别?thedifferences between interface and abstract class?
4. Servlet实例在一个应用中被创建了几次?
5. 说一说Servlet的生命周期? (Lifecy...
分类:
编程语言 时间:
2014-09-23 22:10:35
阅读次数:
244
有时候看源码的时候看到类名之间存在,:<,:<=]e.gmod < other → true, false, or nilReturns true ifmodis a subclass ofother. Returnsnilif there’s no relationship between the...
分类:
其他好文 时间:
2014-09-23 18:57:45
阅读次数:
235
Problem:There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "You...
分类:
其他好文 时间:
2014-09-23 12:32:24
阅读次数:
708
参考资料:Clustering by Passing Messages Between Data Points,Brendan J. Frey* and Delbert Dueck
分类:
其他好文 时间:
2014-09-23 01:38:33
阅读次数:
207
1.修改conf/core-site.xml增加 fs.checkpoint.period 3600 The number of seconds between two periodic checkpoints. fs.checkpoint.size 67108864 The size of ...
分类:
其他好文 时间:
2014-09-22 20:25:53
阅读次数:
247
Most of the communications between components that you have seen so far are synchronous: one class calls another, a managed bean invokes an EJB, which calls an entity, and so on.? ? ?Message...
分类:
其他好文 时间:
2014-09-22 17:36:33
阅读次数:
216