Skip to content

Commit 5b1f8d2

Browse files
authored
Merge pull request #129 from atcoder/patch/128
fix documents of maxflow
2 parents 89d5d0a + 41d6b54 commit 5b1f8d2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

document_en/maxflow.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ It adds an edge oriented from the vertex `from` to the vertex `to` with the capa
4343
(2) Cap graph.flow(int s, int t, Cap flow_limit);
4444
```
4545

46-
- It augments the flow from $s$ to $t$ as much as possible. It returns the amount of the flow augmented.
46+
- (1) It augments the flow from $s$ to $t$ as much as possible. It returns the amount of the flow augmented.
47+
- (2) It augments the flow from $s$ to $t$ as much as possible, until reaching the amount of `flow_limit`. It returns the amount of the flow augmented.
4748
- You may call it multiple times. See [Appendix](./appendix.html) for further details.
4849

4950
**@{keyword.constraints}**

document_ja/maxflow.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ int graph.add_edge(int from, int to, Cap cap);
4444
```
4545

4646
- (1) 頂点 $s$ から $t$ へ流せる限り流し、流せた量を返す。
47-
- (2) 頂点 $s$ から $t$ へ流量 $flow_limit$ に達するまで流せる限り流し、流せた量を返す。
47+
- (2) 頂点 $s$ から $t$ へ流量 `flow_limit` に達するまで流せる限り流し、流せた量を返す。
4848
- 複数回呼ぶことも可能で、その時の挙動は [Appendix](./appendix.html) を参照してください。
4949

5050
**@{keyword.constraints}**

0 commit comments

Comments
 (0)