摘要: 洛谷P1600 点击查看代码 #include<bits/stdc++.h> #define N 500005 #define mid (l+r)/2 using namespace std; int n,m,w[N],ans[N]; vector<int>g[N]; int fa[N][20],d 阅读全文
posted @ 2025-08-27 21:24 Lucian2007 阅读(6) 评论(0) 推荐(0)