随笔分类 - 

树+dfs
摘要:原题链接:https://codeforces.com/problemset/problem/2050/G 题解链接:https://blog.csdn.net/Lazy_ChessPlayer/article/details/144279298 #include<bits/stdc++.h> #d 阅读全文
posted @ 2025-01-16 11:37 laileou 阅读(3) 评论(0) 推荐(0) 编辑
树+图
摘要:https://codeforces.com/problemset/problem/2053/E #include<bits/stdc++.h> using namespace std; #define endl '\n' #define lowbit(x) x&(-x) using ll = lo 阅读全文
posted @ 2025-01-14 15:12 laileou 阅读(3) 评论(0) 推荐(0) 编辑

 
点击右上角即可分享
微信分享提示