正文
增加 2 行删除 2 行
28 行未改动29303132333435363753 行未改动91929394959697989947 行未改动28 行未改动#define gc _getchar_nolock#define pc _putchar_nolock#endif#define int long long#define rint register int#define R register#define _ read<int>()template<class T>inline T read(){53 行未改动if(v==fa) continue;dfs(v,u);if(!son[v]) continue;if(!son[u]) son[u]=son[v];//当前这个点不是就传上去else{lca(son[u],son[v]),son[u]=0;//可以匹配}}47 行未改动28 行未改动29303132333435363753 行未改动91929394959697989947 行未改动28 行未改动#define gc _getchar_nolock#define pc _putchar_nolock#endif#define int long long#define rint register int#define R register#define _ read<int>()template<class T>inline T read(){53 行未改动if(v==fa) continue;dfs(v,u);if(!son[v]) continue;if(!son[u]) son[u]=son[v];//当前这个点不是就传上去else{lca(son[u],son[v]),son[u]=0;//可以匹配}}47 行未改动