摘要: #include#include#includeusing namespace std;const int M = 50006;int w[M], a[M], root[M];struct Tree{ int ls, rs, w;} tr[M > 1; if(d = r) return... 阅读全文
posted @ 2015-04-22 23:23 ACMood 阅读(163) 评论(0) 推荐(0) 编辑