File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ It is the data structure for [monoids](https://en.wikipedia.org/wiki/Monoid) $(S
55-  associativity: $(a \cdot b) \cdot c$ = $a \cdot (b \cdot c)$ for all $a, b, c \in S$
66-  existence of the identity element: $a \cdot e$ = $e \cdot a$ = $a$ for all $a \in S$
77
8- Given an array $S$ of length $N $, it processes the following queries in $O(\log N )$ time (see [ Appendix] ( ./appendix.html )  for further details).
8+ Given an array $S$ of length $n $, it processes the following queries in $O(\log n )$ time (see [ Appendix] ( ./appendix.html )  for further details).
99
1010-  Updating an element
1111-  Calculating the product of the elements of an interval
Original file line number Diff line number Diff line change 77
88を満たす代数構造に対し使用できるデータ構造です。
99
10- 長さ $N $ の $S$ の配列に対し、
10+ 長さ $n $ の $S$ の配列に対し、
1111
1212-  要素の $1$ 点変更
1313-  区間の要素の総積の取得
1414
15- を $O(\log N )$ で行うことが出来ます。詳細な要件は [ Appendix] ( ./appendix.html )  を参照してください。
15+ を $O(\log n )$ で行うことが出来ます。詳細な要件は [ Appendix] ( ./appendix.html )  を参照してください。
1616
1717また、このライブラリはオラクルとして` op, e ` の2種類を使用しますが、これらが定数時間で動くものと仮定したときの計算量を記述します。オラクル内部の計算量が $O(f(n))$ である場合はすべての計算量が $O(f(n))$ 倍となります。
1818
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments