正文
增加 1 行删除 1 行
112 行未改动全部展开11311411511611711811912012141 行未改动112 行未改动全部展开for(auto y:G2[x]) tmp[++sz]=y;for(int i=2; i<=sz; i+=2) {alter2(1, tmp[i], tmp[i]);alter2(1, tmp[1], x);alter2(1, tmp[i+1], tmp[i+1]);}if(fa!=tmp[1]) {alter2(1, x, x);alter2(1, fa, tmp[1]);41 行未改动112 行未改动全部展开11311411511611711811912012141 行未改动112 行未改动全部展开for(auto y:G2[x]) tmp[++sz]=y;for(int i=2; i<=sz; i+=2) {alter2(1, tmp[i], tmp[i]);alter2(1, tmp[1], x);alter2(1, tmp[i+1], tmp[i+1]);}if(fa!=tmp[1]) {alter2(1, x, x);alter2(1, fa, tmp[1]);41 行未改动