摘要: 树链剖分水过,单点修改,树状数组即可。#include #include #include #include #include #define N 250100using namespace std;int n, m, nowplace = 0;int p[N] = {0}, next[N], ...阅读全文
posted @ 2014-09-28 11:30 handsomeJian 阅读(36) 评论(0) 编辑