码迷,mamicode.com
首页 >  
搜索关键字:asteroids    ( 124个结果
Poj 3041 Asteroids
Asteroids Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 25270 Accepted: 13635 Description Bessie wants to navigate her spaceship through ...
分类:其他好文   时间:2018-05-12 19:26:30    阅读次数:188
bzoj 1741: [Usaco2005 nov]Asteroids 穿越小行星群【最大点覆盖】
二分图最大点覆盖模型,因为对于一个点(x,y)显然只要选x或者y就好了,于是连边,跑最大匹配=最大点覆盖(不会证) cpp include include using namespace std; const int N=10005,inf=1e9; int n,m,h[N],cnt,con,lk[ ...
分类:其他好文   时间:2018-05-08 21:01:24    阅读次数:159
POJ #3041 Asteroids 3041 二分图最小覆盖 最大匹配 匈牙利算法
Description Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 <= N <= 500). The grid contains ...
分类:编程语言   时间:2018-04-15 11:40:52    阅读次数:194
POJ 3041 Asteroids (二分图最小点覆盖集)
Asteroids Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 24789 Accepted: 13439 Description Bessie wants to navigate her spaceship through ...
分类:其他好文   时间:2018-03-11 19:14:23    阅读次数:176
POJ3041 Asteroids(二分图最小点覆盖)
Description Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 <= N <= 500). The grid contains ...
分类:其他好文   时间:2018-02-12 00:24:57    阅读次数:210
poj3041 Asteroids
二分图。对于每个点,将他的 x 与 y 连一条边,求最小点覆盖 二分图最小点覆盖等于最大匹配 include include include using namespace std; int n, k, hea[505], cnt, lnk[1005], ans, uu, vv; bool vis[ ...
分类:其他好文   时间:2018-01-19 11:42:11    阅读次数:131
[LeetCode] Asteroid Collision 行星碰撞
We are given an array asteroids of integers representing asteroids in a row. For each asteroid, the absolute value represents its size, and the sign r ...
分类:其他好文   时间:2017-12-14 03:56:29    阅读次数:172
poj-3041-Asteroids
poj-3041-Asteroids Asteroids Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 24115 Accepted: 13066 Description Bessie wants to navigate her ...
分类:其他好文   时间:2017-12-04 22:26:01    阅读次数:217
735. Asteroid Collision
We are given an array asteroids of integers representing asteroids in a row. For each asteroid, the absolute value represents its size, and the sign r ...
分类:其他好文   时间:2017-12-01 18:35:54    阅读次数:123
[poj] 3041 Asteroids
"原题" 本题为最小点覆盖,而最小点覆盖=最大二分图匹配 //最小点覆盖:用最少的点(左右两边集合的点)让每条边都至少和其中一个点关联。 cpp include include define N 510 using namespace std; int edge[N][N],n,m,lover[N] ...
分类:其他好文   时间:2017-12-01 16:36:51    阅读次数:122
124条   上一页 1 2 3 4 5 ... 13 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!