原创 P3224 [HNOI2012]永無鄉

題目鏈接:https://www.luogu.com.cn/problem/P3224 這題的平衡樹寫法 實測不開o2的情況下權值線段樹快些,開了o2後最後一個數據平衡樹更快 #include<bits/stdc++.h> #in