洛谷 2173 BZOJ 2816 [ZJOI2012]網絡

【題解】   明顯的LCT模板題,c種顏色就開c棵LCT好了。。 1 #include<cstdio> 2 #include<algorithm> 3 #define N 100010 4 #define C 11 5 #define rg register 6 #define ls (son[c][u][0]) 7 #define rs (son[c][u][1])
相關文章
相關標籤/搜索