摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1533人和房子数量相同,每个人进房子,费用是人到房子的曼哈顿距离,求最小费用可用最小费用最大流求解,建立虚拟的源点和汇点即可#include #include #include #include using nam... 阅读全文