0_0_20613223_8023.cpp:2:5: error: expected unqualified-id before '=' token
=0;j--) { if(!dp[j]) continue; for(k=0;k<n;k++) { if(j&(1<<k)) continue; if(ban[i][k]) continue; dp[j|(1<<k)]+=dp[j]; } }}int main(){ int T,Case; ini(); scanf("%d",&T); for(Case=1;Case<=T;Case++) { scanf("%d%d",&n,&m); getban(); getdp(); printf("Case %d: %I64d\n",Case,fac[n]-dp[(1<<n)-1]); } return 0;}
^
0_0_20613223_8023.cpp:2:8: error: 'j' does not name a type
=0;j--) { if(!dp[j]) continue; for(k=0;k<n;k++) { if(j&(1<<k)) continue; if(ban[i][k]) continue; dp[j|(1<<k)]+=dp[j]; } }}int main(){ int T,Case; ini(); scanf("%d",&T); for(Case=1;Case<=T;Case++) { scanf("%d%d",&n,&m); getban(); getdp(); printf("Case %d: %I64d\n",Case,fac[n]-dp[(1<<n)-1]); } return 0;}
^
0_0_20613223_8023.cpp:2:223: error: expected declaration before '}' token
=0;j--) { if(!dp[j]) continue; for(k=0;k<n;k++) { if(j&(1<<k)) continue; if(ban[i][k]) continue; dp[j|(1<<k)]+=dp[j]; } }}int main(){ int T,Case; ini(); scanf("%d",&T); for(Case=1;Case<=T;Case++) { scanf("%d%d",&n,&m); getban(); getdp(); printf("Case %d: %I64d\n",Case,fac[n]-dp[(1<<n)-1]); } return 0;}
^
|