摘要:
[Easy Version传送门](https://codeforces.com/contest/1832/problem/D1) [Hard Version传送门](https://codeforces.com/contest/1832/problem/D1) 题目大意: ![](https:// 阅读全文
![Educational Codeforces Round 148 (Rated for Div. 2) D1. Red-Blue Operations](https://img2023.cnblogs.com/blog/2937794/202305/2937794-20230523224914659-1445268611.png)
摘要:
[传送门](https://codeforces.com/gym/103486/problem/D) ``` #include #include #include #include #include #include #include #include #include #include #incl 阅读全文
![The 15th Jilin Provincial Collegiate Programming Contest D. Rush Morning 线段树动态维护树直径](https://img2023.cnblogs.com/blog/2937794/202305/2937794-20230523221930139-982689083.png)