Skip to content

Commit 3c37e91

Browse files
authored
Merge pull request #141 from TumoiYorozu/MaxFlow_constraints
Fix MaxFlow::flow constraints
2 parents 97b3144 + 302223c commit 3c37e91

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

document_en/maxflow.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ It adds an edge oriented from the vertex `from` to the vertex `to` with the capa
5050
**@{keyword.constraints}**
5151

5252
- $s \neq t$
53+
- $0 \leq s, t \lt n$
5354
- The answer should be in `Cap`.
5455

5556
**@{keyword.complexity}**

document_ja/maxflow.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ int graph.add_edge(int from, int to, Cap cap);
5050
**@{keyword.constraints}**
5151

5252
- $s \neq t$
53+
- $0 \leq s, t \lt n$
5354
- 返り値が `Cap` に収まる
5455

5556
**@{keyword.complexity}**

0 commit comments

Comments
 (0)