![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
acm
sunhanpt
这个作者很懒,什么都没留下…
展开
-
线段树(区间更新求和)
/* Author: ACb0y Date: 2010-9-10 Type: segment tree ProblemId: pku 3468 A Simple Problem with Integers Result: 7601996 ACboy_lrl 3468 Accepted 7196K 1657MS C++ 2470B 2010-09-10 21:54:11转载 2014-04-27 17:46:47 · 488 阅读 · 0 评论 -
最小费用最大流模板
自己的模板:邻接表。 #include using namespace std; struct{ int v, cap, cost, next, re; // re记录逆边的下标。 }edge[eMax]; int n, m, ans; int k, edgeHead[nMax]; int que[nMax], pre[nMax], d转载 2014-04-12 15:27:08 · 595 阅读 · 0 评论