2014年11月6日

light1348Aladdin and the Return Journey树链剖分

摘要: 点更新模版题,线段树 建树的时候没写更新,交了几十次吧。#include#include#include#include#include#includeusing namespace std;#define lson l,mid,rt> 1; build(lson); build(rso... 阅读全文

posted @ 2014-11-06 20:08 一个西瓜 阅读(193) 评论(0) 推荐(0)

Problem 2082 过路费树链剖分

摘要: 裸题直接搞。#include#include#include#include#include#includeusing namespace std;#define lson l,mid,rt> 1; build(lson); build(rson);}void up(LL rt){ su... 阅读全文

posted @ 2014-11-06 00:42 一个西瓜 阅读(219) 评论(0) 推荐(0)

导航