版本比较
【笔记】平衡树 学习笔记(上)
正文
增加 2 行删除 2 行
600 行未改动全部展开601602603604605605606607608609105 行未改动全部展开71571671771871971972072172272334 行未改动600 行未改动全部展开 o = x; break; } w -= C[x]; o = x, x = X[x][1]; } } } splay(root, o); return W[x];}int find_pre(int &root, int w){105 行未改动全部展开 o = x; break; } w -= C[x]; o = x, x = X[x][1]; } } } splay(root, o); return W[x]; } int find_pre(int &root, int w){34 行未改动