摘要:
##Problem B ###题目 You are playing one RPG from the 2010s. You are planning to raise your smithing skill, so you need as many resources as possible. So 阅读全文
摘要:
##题目 (戳我)[https://www.luogu.com.cn/problem/solution/P4016] ##思路 讲一下费用流的建图,首先我们需要做的肯定是做到数量平均,所以我们考虑大于平均值的边应该是要出流的,小于的应该是要流入的,题目要求的是搬运量,自然而然它就是费用,我们在相邻的 阅读全文