摘要: 真心给byvoid和gyh神犇跪了,神建模,我开始想的时DP,sb....题目:http://www.lydsy.com:808/JudgeOnline/problem.php?id=1061题解:https://www.byvoid.com/blog/noi-2008-employee/蒟蒻的代码:#include#includeusing namespace std;const int INF=214748364;struct eg{ int u,v,c,w,pr;}x[500011]={};int n,m,need[1011]={},bia[1011]={},num=0,s=... 阅读全文