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