The 2017 ACM-ICPC Asia Jakarta Regional Contest L - Sacred Scarecrows/UVALive - 8144 (状压dp+容斥)
传送门题目:题意:多组输入,给你n*m(n#definelllonglong#defineinf0x3f3f3f3f#definemst(head,x,n)memset(head+1,x,n*sizeof(head[0]))#definerep(i,a,b)for(inti=(a);i=(b);i--)usingnamespacestd;constintmaxn=1e3+5;constintmax