![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
2012网络赛
wxfwxf328
这个作者很懒,什么都没留下…
展开
-
2012杭州网络赛赛后【缺ACDI】
A Boomerang (HDU 4410) B Arrest (HDU 4411) 最小费用流,建-inf边保证n个点都被访问到 #include #include #include using namespace std; const int N=222,M=111111; const int inf=0x3f3f3f3f; MinCos原创 2012-10-03 03:41:20 · 1780 阅读 · 0 评论 -
2012成都网络赛赛后【缺CHJ】
A Coder (HDU 4288,与Codeforces 85D相同) 应该用线段树写,我是块状链表水过了 #include #include #include #include using namespace std; typedef long long ll; const int N=320*320; struct Query {原创 2012-10-03 03:42:43 · 2889 阅读 · 0 评论 -
2012金华网络赛赛后【缺ABC】
A Mines (HDU 4400) B Battery (HDU 4401) C Magic Board (HDU 4402) D A very hard Aoshu problem (HDU 4403) 枚举“=”的位置,分别对左右两部分进行DFS,统计出相等的个数即可: #include #include #include using nam原创 2012-10-03 03:41:50 · 2528 阅读 · 2 评论 -
2012长春网络赛赛后【完结】
A A Simple Problem with Integers (HDU 4267) 树状树组维护arr[i]-arr[i-1],实现成段更新单点查询。 #include #include const int N=55555; struct TreeArr { int arr[N],n; void init(int n){memset(arr,0,4*n+4原创 2012-10-02 23:36:27 · 2903 阅读 · 0 评论