
最大团最大独立集类问题
xuanweiace
一个热爱算法竞赛的弱校ACMer路过。青大本,浙大硕,方向后端开发,菜鸡一枚,奋斗ing...
展开
-
【HDU - 1530】Maximum Clique(最大团问题,图论)
题干:Given a graph G(V, E), a clique is a sub-graph g(v, e), so that for all vertex pairs v1, v2 in v, there exists an edge (v1, v2) in e. Maximum clique is the clique that has maximum number of verte...原创 2019-05-08 19:10:12 · 540 阅读 · 0 评论 -
【Gym - 101915D】Largest Group(二分图最大团,状压dp)
题干:大黑山上有小小民和小小涛两种物种,山东人小李想要研究这两种物种的关系奇怪的是大黑山上有相同数量的小小民和小小涛。小李数了数一共有 P 个,小李分别给P个小小民和小小涛编号 1 - P 号,已知每对小小民之间都是好朋友,每对小小涛之间也都是好朋友,但是 i 号小小民和 j 号小小涛不一定是好朋友山东人小李想要知道在这个物种间最大的友好群体的物种数量(在这个群体中任意两个生物都是好朋...原创 2019-05-13 17:17:36 · 481 阅读 · 0 评论 -
【2019牛客暑期多校训练营(第五场)- E】independent set 1(最大独立集,状压dp)
题干:链接:https://ac.nowcoder.com/acm/contest/885/E来源:牛客网Note:For C++ languages, the memory limit is 100 MB.For other languages, the memory limit is 200 MB.In graph theory, an independent se...原创 2019-08-22 23:17:43 · 295 阅读 · 0 评论