[ACM] HUST 1017 Exact cover (Dancing Links,DLX模板题)
DESCRIPTIONThereisanN*Mmatrixwithonly0sand1s,(1
#include
usingnamespacestd;
constintmaxnode=100010;
constintmaxm=1010;
constintmaxn=1010;
structDLX
{
intn,m,size;
intU[maxnode],D[maxnode],R[maxnode],