Skip to content

Commit 302223c

Browse files
committed
Fix MaxFlow constraints
1 parent f669803 commit 302223c

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)