最大独立集
SYaoJun
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
7-3 Summit (25分)
A summit (峰会) is a meeting of heads of state or government. Arranging the rest areas for the summit is not a simple job. The ideal arrangement of one area is to invite those heads so that everyone is ...原创 2019-12-08 08:23:28 · 301 阅读 · 0 评论 -
1142 Maximal Clique (25 分)
这道题耗了我两个多小时,真的太菜了! 这道题写错的几个地方: 1.判断相等,我写成了赋值符号。 2.忽略了编号是从1开始的。 #include<cstdio> #include<vector> #include<algorithm> #include<cstring> #include<iostream> using namespace ...原创 2019-03-02 09:51:03 · 236 阅读 · 0 评论 -
1134 Vertex Cover (25 分)
判断是否是点覆盖集 主要用入度是否大于0来判断 #include<cstdio> #include<vector> #include<algorithm> #include<cstring> #include<iostream> using namespace std; const int maxn=1e4+5; const int IN...原创 2019-03-02 10:56:56 · 218 阅读 · 0 评论
分享