摘要: E - Transitivity constexpr int N=2e3+2; vector<int>ve[N]; bool f[N]; int ans; void dfs(int u,int fa){ for(auto&& v:ve[u]) if(!f[v]){ f[v]=true; dfs(v, 阅读全文
posted @ 2023-03-11 16:21 全球通u1 阅读(15) 评论(1) 推荐(0) 编辑