public SegNode(SegNode l, SegNode r) { this.l = l; this.r = r; b = new int[Solver.N + 1]; MaintainBasis(); }
public Solver(int[] a) { n = a.Length; t = (int[])a.Clone(); root = SegNode.Build(0, n, a); }