//不初始化你给我死全家 #include #include #include #include #include #include using namespace std; #define MS(x,y) memset(x,y,sizeof(x)) #define MP(x,y) make_pair(x,y) #define lowbit(x) (x&(-x)) typedef long long LL; inline void fre1(){freopen("input.txt","r",stdin);/*freopen("output.txt","w",stdout);*/} inline void fre2(){fclose(stdin);/*fclose(stdout);*/} const int MAXN=30+5; const double EPS=1e-8; const int MOD=1e9+7; LL fact[MAXN*MAXN],C[MAXN][MAXN],dp[MAXN][MAXN]; int main() { int n=11; fact[0]=1; for(int i=1;i<=n*n;++i) fact[i]=fact[i-1]*3%MOD; C[0][0]=1; for(int i=1;i