ll@n,@m,a[1<<16]{},b[m]; rep(i,m){ ll x=0; rep(n){ char@c; x=x<<1|c&1; } a[x]=1; b[i]=x; } if(!a[0]||!a[(1<