码迷,mamicode.com
首页 >  
搜索关键字:离线算法    ( 111个结果
最近公共祖先模版
LCA tarjan 的离线算法 #include #include #include using namespace std; const int maxn = 40010; int first[maxn], head[maxn], cnt, sum; struct edge { int u, v, w, next; }e[maxn*2], qe[maxn], Q[maxn]; int...
分类:其他好文   时间:2014-07-09 10:23:35    阅读次数:256
111条   上一页 1 ... 10 11 12
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!