摘要: /* time:O(unknown) space:O(n*n) knowledge:树的直径 step:dfs*2 */ #include<bits/stdc++.h> using namespace std; int n; vector<int> t[105]; bool vis[105]; in 阅读全文
posted @ 2023-11-24 21:19 臧清宇 阅读(31) 评论(0) 推荐(0)