#include using namespace std; long long int A[16][16]; long long int dp[5][1<<16]; vector state[17]; int main(void) { cin.tie(0); ios::sync_with_stdio(false); int n = 16; for(int i=0;i> A[i][j]; } } for(int i=0;i a,b; for(int j=0;j<16;j++) { if((s&(1<> dp2(N+1,vector((1<