
图论
文章平均质量分 56
Hineven
曾经是一个机房刷水的都比 39.106.09.75/blog
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
最大流 isap 模板
存一个最大流isap的模板 直接填入m,n,S,T 就可以跑了#include<cstdio> #include<cstring> #include<climits> #include<algorithm> #include<queue> using namespace std; int n,m,flow; #define MAXN 1100 #define MAXM 550000 bool vi原创 2016-08-02 11:05:00 · 424 阅读 · 0 评论 -
【cqbzoj2500】攻占城堡
攻占城堡时间限制: 1 Sec 内存限制: 128 MB题目描述whitecloth要去攻占rainbow和freda的城堡,从whitecloth的出发点到城堡之间有 N个据点,whitecloth在1号点,城堡在N号点,中间有M条双向道路,每条道 路上都有兵力把守,whitecloth想要攻占城堡,就要占领据点之间的道路从而得到 一条通往城堡的路,whitecloth要使用的兵力等与他所原创 2016-11-03 17:51:33 · 494 阅读 · 0 评论 -
【POJ 2396】 Budget 带上下界网络流 解题报告
BudgetTime Limit: 3000MS Memory Limit: 65536K Special JudgeDescriptionWe are supposed to make a budget proposal for this multi-site competition. The budget proposal is a matrix where the rows rep原创 2016-12-07 22:32:52 · 999 阅读 · 0 评论