摘要: #include #include #include #include #define pb push_back #define MAXN 2000+2000 using namespace std; int a[MAXN][MAXN]; int f[MAXN][MAXN]; int n,h,delta; void init(){ scanf("%d%d%d",&n,&h,&delta)... 阅读全文
posted @ 2017-12-19 13:55 white_hat_hacker 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 最小生成树 阅读全文
posted @ 2017-12-19 13:40 white_hat_hacker 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 一开始是用二分图匹配(网络流)+二分做的,后来发现直接用匈牙利更简单 阅读全文
posted @ 2017-12-19 00:43 white_hat_hacker 阅读(162) 评论(0) 推荐(0) 编辑