1094 The Largest Generation (25 point(s))

题解 dfs。 #include<iostream> #include<cstdio> #include<vector> using namespace std; const int MAXN = 100 + 10; int level[MAXN]; vector<vector<int>> e; int n, m, k, x; void dfs(int u, int depth) { level
相关文章
相关标签/搜索