摘要:
LCA倍增,以前写过离线Tarjan,不多说#include#include#include#include#include#include#include#include#includeconst int MAXN = 10005 , logN = 15;int n;struct ... 阅读全文
posted @ 2015-04-02 22:31
<Dash>
阅读(120)
评论(0)
推荐(0)
摘要:
多组数据会卡动态空间,即使是中途释放空间也无济于事。。。#include#include#include#include#include#include#include#include#include#includeconst int MAXN = 1005, MAXL = 55,... 阅读全文
posted @ 2015-04-02 19:11
<Dash>
阅读(137)
评论(0)
推荐(0)
摘要:
WA了好多次,注意这题有多组数据bool强制转换int#include#include#include#include#include#include#include#include#include#includeconst int MAXN = 505, MAXL = 205, ... 阅读全文
posted @ 2015-04-02 17:48
<Dash>
阅读(132)
评论(0)
推荐(0)
摘要:
AC自动机http://www.cnblogs.com/kuangbin/p/3164106.html next[ ]高端实现方法,膜拜不已~#include#include#include#include#include#include#include#include#includ... 阅读全文
posted @ 2015-04-02 15:59
<Dash>
阅读(129)
评论(0)
推荐(0)

浙公网安备 33010602011771号