#include<iostream>
#include<cstdio>
#define mod 100000000
using namespace std;
inline int read(){
int x=0,f=1;char ch=getchar();
while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}
while(ch>='0'&&ch<='9'){x*=10;x+=ch-'0';ch=getchar();}
return x*f;
}
int n,m,ed,ans,mp[13],f[13][4096];
void dp()
{
for(int i=0;i<=ed;i++)
{
if((i&(i>>1))==0&&(i|mp[1])==mp[1])
f[1][i]=1;
}
//puts("ok");
fo......
阅读全文