UMD Competitive Programming Club
Sam
# What's Flow
A graph consisting of a source \(s\) and sink \(t\) where the edges has non-negative capacity \(c(e)\).
A flow on an edge is a value \(f(e)\) that does not exceed the value \(c(e)\). \((f(e) \le c(e), \ \forall e \in E\)
For all vertex \(v \in V\), the sum of incoming flow is eaual to outgoing flow.
# What's Flow
An easier way of viewing network flow is by using water that came out from the source, goes through pipes, and end up in the sink.
We want to find "Maximum Flow" of a network
# MAX FLOW
# MAX FLOW
Let's apply them on problems
# PROBLEMS
Max flow = Min cut
# MIN CUT
# MIN CUT
Codeforces 1473F - Strange Set
Codeforces - Best Subsequences
Min Cost Max Flow!
# MCMF
Codeforces - Armchair