模拟费用流
其实就是一个思想,没啥好讲的。
https://www.luogu.com.cn/problem/CF730I
https://qoj.ac/problem/7185
https://www.luogu.com.cn/problem/CF724E
练习:
https://www.luogu.com.cn/problem/AT_agc018_c
https://www.luogu.com.cn/problem/CF1373F
https://www.luogu.com.cn/problem/P2514
附加题:
https://www.luogu.com.cn/problem/P4694
https://www.luogu.com.cn/problem/P6943