跳转至

U74895 有便便的厕所2

  • tree[p].tag += tg;+= 不能写成 =
void move_tag(int p, int l, int r, int tg){  
    tree[p].sum1 += getSum1(l, r) * tg;  
    tree[p].sum2 += getSum2(l, r) * tg;  
    tree[p].tag += tg;  
}