0_0_20613040_12708.cpp:4:5: error: 'c' does not name a type
c||k+n2>c||l+n3>c) continue; temp = dp[i-1][j][k][l]+(n1!=0)+(n2!=0)+(n3!=0); if(dp[i][j+n1][k+n2][l+n3]==-1||dp[i][j+n1][k+n2][l+n3]>temp) dp[i][j+n1][k+n2][l+n3]=temp; } } int maxn=inf; for(int i=0;i<=c;i++) for(int j=0;j<=c;j++) { if(i+j>m) continue; if(dp[16][i][j][m-i-j] == -1) continue; if(dp[16][i][j][m-i-j]<maxn) maxn=dp[16][i][j][m-i-j]; } printf("Case %d: %d\n",T,maxn); }}
^
0_0_20613040_12708.cpp:4:58: error: 'temp' does not name a type
c||k+n2>c||l+n3>c) continue; temp = dp[i-1][j][k][l]+(n1!=0)+(n2!=0)+(n3!=0); if(dp[i][j+n1][k+n2][l+n3]==-1||dp[i][j+n1][k+n2][l+n3]>temp) dp[i][j+n1][k+n2][l+n3]=temp; } } int maxn=inf; for(int i=0;i<=c;i++) for(int j=0;j<=c;j++) { if(i+j>m) continue; if(dp[16][i][j][m-i-j] == -1) continue; if(dp[16][i][j][m-i-j]<maxn) maxn=dp[16][i][j][m-i-j]; } printf("Case %d: %d\n",T,maxn); }}
^
0_0_20613040_12708.cpp:4:131: error: expected unqualified-id before 'if'
c||k+n2>c||l+n3>c) continue; temp = dp[i-1][j][k][l]+(n1!=0)+(n2!=0)+(n3!=0); if(dp[i][j+n1][k+n2][l+n3]==-1||dp[i][j+n1][k+n2][l+n3]>temp) dp[i][j+n1][k+n2][l+n3]=temp; } } int maxn=inf; for(int i=0;i<=c;i++) for(int j=0;j<=c;j++) { if(i+j>m) continue; if(dp[16][i][j][m-i-j] == -1) continue; if(dp[16][i][j][m-i-j]<maxn) maxn=dp[16][i][j][m-i-j]; } printf("Case %d: %d\n",T,maxn); }}
^
0_0_20613040_12708.cpp:4:272: error: expected declaration before '}' token
c||k+n2>c||l+n3>c) continue; temp = dp[i-1][j][k][l]+(n1!=0)+(n2!=0)+(n3!=0); if(dp[i][j+n1][k+n2][l+n3]==-1||dp[i][j+n1][k+n2][l+n3]>temp) dp[i][j+n1][k+n2][l+n3]=temp; } } int maxn=inf; for(int i=0;i<=c;i++) for(int j=0;j<=c;j++) { if(i+j>m) continue; if(dp[16][i][j][m-i-j] == -1) continue; if(dp[16][i][j][m-i-j]<maxn) maxn=dp[16][i][j][m-i-j]; } printf("Case %d: %d\n",T,maxn); }}
^
|