In a highly modernized fishing village, inhabitants there make a living on fishery. Their major tools, fishing nets, are produced and fixed by computer. After catching fishes each time, together with plenty of fishes, they will bring back the shabby…
弦图判定 代码 #include<cstdio> #include<queue> #define mp make_pair #define fi first #define sc second using namespace std; ; int n,m,a,b,i,j; int dp,p[N],pre[N],tt[N],o,vis[N],sum[N],id[N],ID[N]; priority_queue<pair<int,int> > Q; void l…