Skip to content

Commit 9b59bbc

Browse files
committed
Fix MaxFlow constraints
1 parent b9fbc16 commit 9b59bbc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

document_en/maxflow.md

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ It adds an edge oriented from the vertex `from` to the vertex `to` with the capa
4949
**@{keyword.constraints}**
5050

5151
- $s \neq t$
52+
- $0 \leq s, t \lt n$
5253
- The answer should be in `Cap`.
5354

5455
**@{keyword.complexity}**

document_ja/maxflow.md

+1
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)