Skip to content

Commit d8c72d0

Browse files
A1exL1angbqi343
andauthored
Update content/6_Advanced/Lagrange.mdx
Co-authored-by: Benjamin Qi <bqi343@gmail.com>
1 parent 0765a97 commit d8c72d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/6_Advanced/Lagrange.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ We construct a flow graph with source $S$, sink $T$, and $N+1$ additional vertic
8686

8787
- A bidirectional edge from $i$ ($1 \le i \le N$) to $i+1$ with weight $A[i]$ and capacity $1$.
8888

89-
$f(x)$ will be the maximum cost $x$-flow through the graph. We can repeatidly find the maximum cost augmenting path $x$ times to get our answer. Because the maximum cost as a function of flow is concave, $f(x)$ will be concave. You can read more about simulating cost flows [here](https://codeforces.com/blog/entry/118391).
89+
$f(x)$ will be the maximum cost $x$-flow through the graph. We can repeatedly find the maximum cost augmenting path $x$ times to get our answer. Because the maximum cost as a function of flow is concave, $f(x)$ will be concave. You can read more about simulating cost flows [here](https://codeforces.com/blog/entry/118391).
9090

9191
</Spoiler>
9292

0 commit comments

Comments
 (0)