您当前的位置: 首页 > 

HDU-2063过山车

不牌不改 发布时间:2021-06-08 20:19:40 ,浏览量:6

题目链接

http://acm.hdu.edu.cn/showproblem.php?pid=2063

解题思路

匈牙利算法,二分图模板

代码
#include
using namespace std;

const int N = 1e3+10;

int vis[N], e[N][N], p[N];
int k, m, n;

bool find(int x) {
	for(int i = 1;i             
关注
打赏
1688896170
查看更多评论
0.1956s