【AtCoder Regular Contest 092】C.2D Plane 2N Points(匈牙利算法/tuple+set 贪心)
原题链接题意:给两个长度为n的序列的坐标,分别为(Ai,Bi),(Ci,Di),求最多有多少对坐标满足Aiusingnamespacestd;#definemem(a,n)memset(a,n,sizeof(a))#definememc(a,b)memcpy(a,b,sizeof(b))#definerep(i,a,n)for(inti=a;ig[N];booldfs(intu){for(auto