会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
CM_Lunatic
之前在用csdn后期会逐渐转到博客园
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
44
45
46
47
48
49
50
51
52
···
98
下一页
2019年10月28日
图论--二分图最大匹配(匈牙利算法)--模板
摘要: //二分图最大匹配数量#include#include#include#include#include#include#includeusing namespace std;const int N=505;int...
阅读全文
posted @ 2019-10-28 09:06 风骨散人
阅读(148)
评论(0)
推荐(0)
2019年10月27日
2019-2020 ICPC, Asia Jakarta Regional Contest C. Even Path(思维)
摘要: Pathfinding is a task of finding a route between two points. It often appears in many problems. For exampl...
阅读全文
posted @ 2019-10-27 23:57 风骨散人
阅读(109)
评论(0)
推荐(0)
2019-2020 ICPC, Asia Jakarta Regional Contest A. Copying Homework (思维)
摘要: Danang and Darto are classmates. They are given homework to create a permutation of N integers from 1 to N...
阅读全文
posted @ 2019-10-27 23:47 风骨散人
阅读(147)
评论(0)
推荐(0)
图论--一般图带花树匹配--模板
摘要: #include #include #include #include using namespace std;const int N = 250;// 并查集维护 int belong[N];...
阅读全文
posted @ 2019-10-27 23:26 风骨散人
阅读(110)
评论(0)
推荐(0)
图论--一般带花树匹配
摘要: 带花树就是说一个非二分图,图中带有奇环的图,我们不能在奇环中找增广路,因为会陷入死循环,我们可以将带花树的花(奇环)部分缩成点处理,剩下的图就是一个无奇环的图。我们再找增广路,而奇环中的的点我们可以随意分配,但是...
阅读全文
posted @ 2019-10-27 23:25 风骨散人
阅读(108)
评论(0)
推荐(0)
图论--二分图--二分图的定义及其判断定
摘要: 定义:如果一张无向图的N个节点(N>=2)可以分成A B两个非空子集,其中A∩B=Ø,并且在同一集合内的点之间没有相连的边,则称这张无向图为二分图。A,B分别成为这个图的左部和右部。定理:一张无向图是二分图,当且...
阅读全文
posted @ 2019-10-27 21:29 风骨散人
阅读(480)
评论(0)
推荐(0)
图论--最短路径生成树(求最小边权和)
摘要: #include#include#include#include#include#includeusing namespace std;#define read(x) scanf("%lld",&x)#defin...
阅读全文
posted @ 2019-10-27 17:32 风骨散人
阅读(135)
评论(0)
推荐(0)
图论--最短路径生成树(计数)模板
摘要: #include#include#include#include#include#includeusing namespace std;#define read(x) scanf("%lld",&x)#defin...
阅读全文
posted @ 2019-10-27 16:59 风骨散人
阅读(176)
评论(0)
推荐(0)
2019年10月25日
Codeforce 1251C. Minimize The Integer
摘要: C. Minimize The Intege...
阅读全文
posted @ 2019-10-25 08:20 风骨散人
阅读(102)
评论(0)
推荐(0)
二分图匹配详解
摘要: 1.二分图的原始模型及相关概念二分图又称作二部图,是图论中的一种特殊模型。设G=(V,E)G=(V,E)是一个无向图。如顶点集VV 可分割为两个互不相交的子集,并且图中每条边依附的两个顶点都分属两个不同的子集。则...
阅读全文
posted @ 2019-10-25 00:28 风骨散人
阅读(431)
评论(0)
推荐(0)
上一页
1
···
44
45
46
47
48
49
50
51
52
···
98
下一页