Luogu P2053. [SCOI2007] Car Repair
Original link: https://www.shuizilong.com/house/archives/luogu-p2053-scoi2007-%E4%BF%AE%E8%BD%A6/ https://www.luogu.com.cn/problem/P2053 It seems that dp is possible, but the cost of repairing each car is not the same for each person. So it can be modeled as a bipartite graph. #include <lastweapon/io> #include <lastweapon/mincostflow> using namespace lastweapon; int main() { #ifndef ONLINE_JUDGE freopen(“in.txt”, “r”, stdin); //freopen(“out.txt”, “w”, stdout); #endif int m, n; […]
Luogu P2053. [SCOI2007] Car Repair Read More »