LG 3521 [POI2011]ROT-Tree Rotations

zcmimi at 
查看原题'" class='mdui-btn mdui-btn-raised'>点击加载点击跳转线段树合并的时候取$\min(\text{交换前},\text{交换后})$……