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