版本比较
题解【P4509 [CTSC2015]葱】
正文
增加 2 行删除 2 行
90 行未改动9192939495959697989950 行未改动15015115215315415415515615715857 行未改动90 行未改动 tot++; node[tot].P = P; node[tot].rnd = rand(); node[tot].siz = 1; pushup(tot); pushup(tot); return tot;}int cpy(int u){ int res = ++tot;50 行未改动int ans;char op[5];bool check(int a,int b,int c,int d){ ll v1 = val(a,b),v2 = val(c,d); if(v1>v2){ swap(v1,v2); swap(v1,v2); } return (v1<=0&&v2>=0);}void query(int u){57 行未改动