#include #include #define N 15 typedef long long ll; using namespace std; const ll C = N; const ll R = N+1; ll STATE; ll D[R*R][(1<<(R+1))]={{1}}; ll row, col; ll bit; ll ans; int main(){ STATE = (1<<(C+1)); for(long long int i=0; i>1; if(row+col+1