版本比较
来做梦 1005 总结
正文
增加 1 行删除 1 行
206 行未改动全部展开20720820921021121221321421557 行未改动206 行未改动全部展开const int N=5e5+5;int n,fa[N],dp[N];stack<int>st;string s;vector<int>edge[N];void dfs(int u){int pre=-1;if(s[u]=='(')st.emplace(u);57 行未改动206 行未改动全部展开20720820921021121221321421557 行未改动206 行未改动全部展开const int N=5e5+5;int n,fa[N],dp[N];stack<int>st;string s;vector<int>edge[N];void dfs(int u){int pre=-1;if(s[u]=='(')st.emplace(u);57 行未改动