版本比较
省集
正文
增加 60 行删除 0 行
141 行未改动全部展开142143144145141 行未改动全部展开显然答案为原图的生成树,考虑倒过来做,删一条边名加入原图中的一条边,维护即可。### T 3 / [CF1326F2](https://www.luogu.com.cn/problem/CF1326F2)141 行未改动全部展开142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205141 行未改动全部展开显然答案为原图的生成树,考虑倒过来做,删一条边名加入原图中的一条边,维护即可。### T 3 / [CF1326F2](https://www.luogu.com.cn/problem/CF1326F2)### [ARC193C](https://www.luogu.com.cn/problem/AT_arc193_c)### [P12445](https://www.luogu.com.cn/problem/P12445)## Day 6### T 1 / [P11089](https://www.luogu.com.cn/problem/P11089)对于一个 $i$,能删掉的位置一定是一个区间。### T 2《能否通过 $O(-1)$ 的复杂度求它》### T 3 / [P12608](https://www.luogu.com.cn/problem/P12608)### [ARC153F](https://www.luogu.com.cn/problem/AT_arc153_f)### [ARCC164F](https://www.luogu.com.cn/problem/AT_arc164_f)### [AGC054D](https://www.luogu.com.cn/problem/AT_agc054_d)### [ARC165F](https://www.luogu.com.cn/problem/AT_arc165_f)### [P6377](https://www.luogu.com.cn/problem/P6377)## Day 7### T 1考虑建 trie 树,答案的两个数的公用部分尽可能深,若某个子树颜色相同则不管,若有多个颜色,且左右儿子至少有一个有多个颜色,取 $\max$ 即可。否则### T 2### T 3### [CF1973D](https://www.luogu.com.cn/problem/CF1973D)### [CF1227G](https://www.luogu.com.cn/problem/CF1227G)### [CF2057G](https://www.luogu.com.cn/problem/CF2057G)### [CF2096G](https://www.luogu.com.cn/problem/CF2096G)### [CF1965E](https://www.luogu.com.cn/problem/CF1965E)## Day 8### T 1### T 2### T 3### [CF1685C](https://www.luogu.com.cn/problem/CF1685C)### [QOJ1650](https://qoj.ac/contest/636/problem/1650)### [CF2210F](https://www.luogu.com.cn/problem/CF2210F)