摘要:
好久没写题了CODE:#include<iostream>#include<cstdio>#include<cstdlib>#include<cstring>usingnamespacestd;constintM=82;intr[M][4];intv[M];intn,tot;intflag;voiddfs(intcur,intans){if(cur==3){tot=max(ans,tot);}for(inti=0;i<n;i++){if(!v[r[i][0]]&&!v[r[i][1]]&&!v[r[i][2] 阅读全文