摘要: /*本体在spoj375的基础上加了一些操作,用到线段树的lazy操作模板类型*/#include#include#include#include#include#include#includeusing namespace std;#define N 11000#define inf 0x3ff... 阅读全文
posted @ 2014-09-29 16:25 HYDhyd 阅读(165) 评论(0) 推荐(0) 编辑
摘要: /*只是一道树链刨分的入门题,作为模板用。*/#include#include#include#include#include#include#includeusing namespace std;#define N 11000#define inf 0x3fffffffint head[N];i... 阅读全文
posted @ 2014-09-29 15:52 HYDhyd 阅读(155) 评论(0) 推荐(0) 编辑