Skip to content

Commit 27b8fbc

Browse files
committed
deploy: 2df885d
1 parent e4fe38e commit 27b8fbc

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

master/document_en/fenwicktree.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<section class="uk-section">
4848
<div class="uk-container">
4949
<h1>Fenwick Tree</h1>
50-
<p>Given an array of length $N$, it processes the following queries in $O(\log N)$ time.</p>
50+
<p>Given an array of length $n$, it processes the following queries in $O(\log n)$ time.</p>
5151
<ul>
5252
<li>Updating an element</li>
5353
<li>Calculating the sum of the elements of an interval</li>

master/document_en/mincostflow.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h2>min_cost_slope</h2>
9999
It returns $g$ as the list of the changepoints, that satisfies the followings.</p>
100100
<ul>
101101
<li>The first element of the list is $(0, 0)$.</li>
102-
<li>Both of <code>.first</code> and <code>.second</code> are strictly increasing.</li>
102+
<li><code>.first</code> is strictly increasing and <code>.second</code> is non-decreasing.</li>
103103
<li>No three changepoints are on the same line.</li>
104104
<li>(1) The last element of the list is $(x, g(x))$, where $x$ is the maximum amount of the $s-t$ flow.</li>
105105
<li>(2) The last element of the list is $(y, g(y))$, where $y = \min(x, \mathrm{flow\_limit})$.</li>

master/document_en/segtree.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h1>Segtree</h1>
5252
<li>associativity: $(a \cdot b) \cdot c$ = $a \cdot (b \cdot c)$ for all $a, b, c \in S$</li>
5353
<li>existence of the identity element: $a \cdot e$ = $e \cdot a$ = $a$ for all $a \in S$</li>
5454
</ul>
55-
<p>Given an array $S$ of length $N$, it processes the following queries in $O(\log N)$ time (see <a href="./appendix.html">Appendix</a> for further details).</p>
55+
<p>Given an array $S$ of length $n$, it processes the following queries in $O(\log n)$ time (see <a href="./appendix.html">Appendix</a> for further details).</p>
5656
<ul>
5757
<li>Updating an element</li>
5858
<li>Calculating the product of the elements of an interval</li>

master/document_ja/fenwicktree.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@
4747
<section class="uk-section">
4848
<div class="uk-container">
4949
<h1>Fenwick Tree</h1>
50-
<p>長さ $N$ の配列に対し、</p>
50+
<p>長さ $n$ の配列に対し、</p>
5151
<ul>
5252
<li>要素の $1$ 点変更</li>
5353
<li>区間の要素の総和</li>
5454
</ul>
55-
<p>を $O(\log N)$ で求めることが出来るデータ構造です。</p>
55+
<p>を $O(\log n)$ で求めることが出来るデータ構造です。</p>
5656
<h2>コンストラクタ</h2>
5757
<pre><code class="language-cpp">fenwick_tree&lt;T&gt; fw(int n)
5858
</code></pre>

master/document_ja/mincostflow.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h2>min_cost_slope</h2>
9898
<p>返り値に流量とコストの関係の折れ線が入る。全ての $x$ について、流量 $x$ の時の最小コストを $g(x)$ とすると、$(x, g(x))$ は返り値を折れ線として見たものに含まれる。</p>
9999
<ul>
100100
<li>返り値の最初の要素は $(0, 0)$</li>
101-
<li>返り値の<code>.first</code><code>.second</code>は共に狭義単調増加</li>
101+
<li>返り値の<code>.first</code> は狭義単調増加<code>.second</code>は広義単調増加</li>
102102
<li>3点が同一線上にあることはない</li>
103103
<li>(1) 返り値の最後の要素は最大流量 $x$ として $(x, g(x))$</li>
104104
<li>(2) 返り値の最後の要素は $y = \min(x, \mathrm{flow\_limit})$ として $(y, g(y))$</li>

master/document_ja/segtree.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ <h1>Segtree</h1>
5353
<li>単位元の存在: $a \cdot e$ = $e \cdot a$ = $a$ for all $a \in S$</li>
5454
</ul>
5555
<p>を満たす代数構造に対し使用できるデータ構造です。</p>
56-
<p>長さ $N$ の $S$ の配列に対し、</p>
56+
<p>長さ $n$ の $S$ の配列に対し、</p>
5757
<ul>
5858
<li>要素の $1$ 点変更</li>
5959
<li>区間の要素の総積の取得</li>
6060
</ul>
61-
<p>を $O(\log N)$ で行うことが出来ます。詳細な要件は <a href="./appendix.html">Appendix</a> を参照してください。</p>
61+
<p>を $O(\log n)$ で行うことが出来ます。詳細な要件は <a href="./appendix.html">Appendix</a> を参照してください。</p>
6262
<p>また、このライブラリはオラクルとして<code>op, e</code>の2種類を使用しますが、これらが定数時間で動くものと仮定したときの計算量を記述します。オラクル内部の計算量が $O(f(n))$ である場合はすべての計算量が $O(f(n))$ 倍となります。</p>
6363
<h2>コンストラクタ</h2>
6464
<pre><code class="language-cpp">(1) segtree&lt;S, op, e&gt; seg(int n)

0 commit comments

Comments
 (0)