首页 > Numbers
头像 shyyhs
发表于 2020-09-18 13:13:32
直接dfs即可...emmm好水,好了,学树状数组线段树去了...ggg #include <bits/stdc++.h> using namespace std; const int N=100; string s; int vis[N],ans; void dfs(int u,in 展开全文