cf/mirror

Yet Another Maxflow Problem

CF
903G2700· international gm4s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4 3 2
1 2
3 4
5 6
2 2 7
1 4 8
4 3 9
1 100
2 100
Output
9
14
14
903G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…