摘要: 自己用线段树写了一遍 还需... #include #include #include struct node { int left, right; node * pl, * pr; int height; int hCount; int Lheight, Rheight; }line[80002]; int n; int lineCount; ... 阅读全文